Skip to content

Commit a040602

Browse files
author
Louis Beaudoin
committed
Remove asserts from Teensy code as latest Teensyduino seems to break when assert is used
1 parent b232fb0 commit a040602

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Layer_Indexed_Impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ SMLayerIndexed<RGB, optionFlags>::SMLayerIndexed(uint16_t width, uint16_t height
4242
#ifdef ESP32
4343
assert(indexedBitmap != NULL);
4444
#else
45-
this->assert(indexedBitmap != NULL);
45+
//this->assert(indexedBitmap != NULL);
4646
#endif
4747
memset(indexedBitmap, 0x00, 2 * width * (height / 8));
4848
this->matrixWidth = width;

src/Layer_Scrolling_Impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SMLayerScrolling<RGB, optionFlags>::SMLayerScrolling(uint16_t width, uint16_t he
4040
#ifdef ESP32
4141
assert(scrollingBitmap != NULL);
4242
#else
43-
this->assert(scrollingBitmap != NULL);
43+
//this->assert(scrollingBitmap != NULL);
4444
#endif
4545
memset(scrollingBitmap, 0x00, width * (height / 8));
4646
this->matrixWidth = width;

0 commit comments

Comments
 (0)