Skip to content

Commit 8fac208

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layer_Gfx_Mono_Impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ SMLayerGFXMono<RGB_API, RGB_STORAGE, optionFlags>::SMLayerGFXMono(uint16_t width
5050
#ifdef ESP32
5151
assert(indexedBitmap != NULL);
5252
#else
53-
this->assert(indexedBitmap != NULL);
53+
//this->assert(indexedBitmap != NULL);
5454
#endif
5555
memset(indexedBitmap, 0x00, 2 * RGB1_BUFFER_SIZE);
5656
this->indexedColor[1] = rgb48(0xffff, 0xffff, 0xffff);

0 commit comments

Comments
 (0)