Update ESP32-HUB75-MatrixPanel-I2S-DMA.h

Crash fix. Shouldn't actually be less than two.
This commit is contained in:
mrfaptastic 2021-02-14 16:35:22 +00:00
parent 889ed51fe1
commit 58abc5f2fb

View file

@ -130,8 +130,8 @@
// Check compile-time only options
#if PIXEL_COLOR_DEPTH_BITS > 8
#error "Pixel color depth bits cannot be greater than 8."
#elif PIXEL_COLOR_DEPTH_BITS < 1
#error "Pixel color depth bits cannot be less than 1."
#elif PIXEL_COLOR_DEPTH_BITS < 2
#error "Pixel color depth bits cannot be less than 2."
#endif
/***************************************************************************************/