aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/rgb_matrix.h
diff options
context:
space:
mode:
authorDasky <[email protected]>2023-10-24 13:45:33 +0100
committerGitHub <[email protected]>2023-10-24 13:45:33 +0100
commit7e0147f8e6cebbf88a6f25c448cbd0246d3ab260 (patch)
treebec9deca0e7712614121ba92fc73ebb007041efe /quantum/rgb_matrix/rgb_matrix.h
parentc245ee4cd34e768798c4b2c16e1315ebdf3fba79 (diff)
downloadqmk_firmware-7e0147f8e6cebbf88a6f25c448cbd0246d3ab260.tar.gz
qmk_firmware-7e0147f8e6cebbf88a6f25c448cbd0246d3ab260.zip
Fix compilation error when led/rgb process limit is zero. (#22328)
Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'quantum/rgb_matrix/rgb_matrix.h')
-rw-r--r--quantum/rgb_matrix/rgb_matrix.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix.h b/quantum/rgb_matrix/rgb_matrix.h
index 8ac263c635..bba07af79d 100644
--- a/quantum/rgb_matrix/rgb_matrix.h
+++ b/quantum/rgb_matrix/rgb_matrix.h
@@ -106,7 +106,6 @@
#ifndef RGB_MATRIX_LED_PROCESS_LIMIT
# define RGB_MATRIX_LED_PROCESS_LIMIT ((RGB_MATRIX_LED_COUNT + 4) / 5)
#endif
-#define RGB_MATRIX_LED_PROCESS_MAX_ITERATIONS ((RGB_MATRIX_LED_COUNT + RGB_MATRIX_LED_PROCESS_LIMIT - 1) / RGB_MATRIX_LED_PROCESS_LIMIT)
#if defined(RGB_MATRIX_LED_PROCESS_LIMIT) && RGB_MATRIX_LED_PROCESS_LIMIT > 0 && RGB_MATRIX_LED_PROCESS_LIMIT < RGB_MATRIX_LED_COUNT
# if defined(RGB_MATRIX_SPLIT)