Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan
2023-06-18 14:39:07 +10:00
committed by GitHub
parent 7178645be7
commit b1783db4ea
2160 changed files with 2194 additions and 2058 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
#ifndef IOS_DEVICE_ENABLE
# if RGBLED_NUM <= 6
# define RGBLIGHT_LIMIT_VAL 255
# else
# define RGBLIGHT_LIMIT_VAL 130
# endif
# define RGBLIGHT_VAL_STEP 8
#else
# if RGBLED_NUM <= 6
# define RGBLIGHT_LIMIT_VAL 90
# else
# define RGBLIGHT_LIMIT_VAL 45
# endif
# define RGBLIGHT_VAL_STEP 4
#endif