diff options
author | Ryan <fauxpark@gmail.com> | 2022-11-04 15:13:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 04:13:26 +0000 |
commit | 8213eb7fbb979ee20c5394f1281713b76bde86e5 (patch) | |
tree | d78d4689bd97963a833cbd32b834337608926a69 /keyboards | |
parent | fb96b88842f4481df8942768f43813b489ca5c3a (diff) |
Fix DD warnings for RGBKB boards (#18944)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/rgbkb/mun/config.h | 7 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/config.h | 4 | ||||
-rw-r--r-- | keyboards/rgbkb/sol3/config.h | 6 |
3 files changed, 10 insertions, 7 deletions
diff --git a/keyboards/rgbkb/mun/config.h b/keyboards/rgbkb/mun/config.h index 269b215786..bcf4c59b65 100644 --- a/keyboards/rgbkb/mun/config.h +++ b/keyboards/rgbkb/mun/config.h @@ -80,8 +80,8 @@ #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGB_MATRIX_LED_COUNT RGBLED_NUM -#define RGB_MATRIX_SPLIT RGBLED_SPLIT +#define RGB_MATRIX_LED_COUNT 98 +#define RGB_MATRIX_SPLIT { 49, 49 } #define RGB_MATRIX_CENTER { 128, 34 } #define RGB_MATRIX_LED_FLUSH_LIMIT 33 #define RGB_MATRIX_LED_PROCESS_LIMIT 10 @@ -139,10 +139,11 @@ #if RGB_UNLIMITED_POWER #define RGBLIGHT_LIMIT_VAL 255 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 #else #define RGBLIGHT_LIMIT_VAL 127 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 127 #endif -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL #define WS2812_PWM_DRIVER PWMD3 #define WS2812_PWM_CHANNEL 2 diff --git a/keyboards/rgbkb/sol/config.h b/keyboards/rgbkb/sol/config.h index f8c07b974e..1a477acad9 100644 --- a/keyboards/rgbkb/sol/config.h +++ b/keyboards/rgbkb/sol/config.h @@ -42,12 +42,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef IOS_DEVICE_ENABLE #define RGBLIGHT_LIMIT_VAL 40 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 40 #elif RGBLIGHT_FULL_POWER #define RGBLIGHT_LIMIT_VAL 255 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 #else #define RGBLIGHT_LIMIT_VAL 120 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 #endif -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL // RGB Matrix Animation modes. Explicitly enabled // For full list of effects, see: // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects diff --git a/keyboards/rgbkb/sol3/config.h b/keyboards/rgbkb/sol3/config.h index 9689f65356..1ab4cddc9b 100644 --- a/keyboards/rgbkb/sol3/config.h +++ b/keyboards/rgbkb/sol3/config.h @@ -96,10 +96,10 @@ #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGB_MATRIX_LED_COUNT RGBLED_NUM -#define RGB_MATRIX_SPLIT RGBLED_SPLIT +#define RGB_MATRIX_LED_COUNT 156 +#define RGB_MATRIX_SPLIT { 78, 78 } #define RGB_MATRIX_CENTER { 81, 28 } -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL +#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 #define RGB_MATRIX_LED_FLUSH_LIMIT 33 #define RGB_MATRIX_LED_PROCESS_LIMIT 10 #define RGB_DISABLE_WHEN_USB_SUSPENDED |