Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
Crash fix. Shouldn't actually be less than two.
This commit is contained in:
parent
889ed51fe1
commit
58abc5f2fb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
/***************************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue