aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ESP32-HUB75-MatrixPanel-I2S-DMA.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index b188844..e1c1067 100644
--- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -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
/***************************************************************************************/