mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-17 17:35:30 +00:00
Fix DD warnings for RGBKB boards (#18944)
This commit is contained in:
parent
fb96b88842
commit
8213eb7fbb
3 changed files with 10 additions and 7 deletions
|
@ -80,8 +80,8 @@
|
||||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||||
#define RGBLIGHT_EFFECT_TWINKLE
|
#define RGBLIGHT_EFFECT_TWINKLE
|
||||||
|
|
||||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
#define RGB_MATRIX_LED_COUNT 98
|
||||||
#define RGB_MATRIX_SPLIT RGBLED_SPLIT
|
#define RGB_MATRIX_SPLIT { 49, 49 }
|
||||||
#define RGB_MATRIX_CENTER { 128, 34 }
|
#define RGB_MATRIX_CENTER { 128, 34 }
|
||||||
#define RGB_MATRIX_LED_FLUSH_LIMIT 33
|
#define RGB_MATRIX_LED_FLUSH_LIMIT 33
|
||||||
#define RGB_MATRIX_LED_PROCESS_LIMIT 10
|
#define RGB_MATRIX_LED_PROCESS_LIMIT 10
|
||||||
|
@ -139,10 +139,11 @@
|
||||||
|
|
||||||
#if RGB_UNLIMITED_POWER
|
#if RGB_UNLIMITED_POWER
|
||||||
#define RGBLIGHT_LIMIT_VAL 255
|
#define RGBLIGHT_LIMIT_VAL 255
|
||||||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
|
||||||
#else
|
#else
|
||||||
#define RGBLIGHT_LIMIT_VAL 127
|
#define RGBLIGHT_LIMIT_VAL 127
|
||||||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 127
|
||||||
#endif
|
#endif
|
||||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL
|
|
||||||
|
|
||||||
#define WS2812_PWM_DRIVER PWMD3
|
#define WS2812_PWM_DRIVER PWMD3
|
||||||
#define WS2812_PWM_CHANNEL 2
|
#define WS2812_PWM_CHANNEL 2
|
||||||
|
|
|
@ -42,12 +42,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#ifdef IOS_DEVICE_ENABLE
|
#ifdef IOS_DEVICE_ENABLE
|
||||||
#define RGBLIGHT_LIMIT_VAL 40
|
#define RGBLIGHT_LIMIT_VAL 40
|
||||||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 40
|
||||||
#elif RGBLIGHT_FULL_POWER
|
#elif RGBLIGHT_FULL_POWER
|
||||||
#define RGBLIGHT_LIMIT_VAL 255
|
#define RGBLIGHT_LIMIT_VAL 255
|
||||||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
|
||||||
#else
|
#else
|
||||||
#define RGBLIGHT_LIMIT_VAL 120
|
#define RGBLIGHT_LIMIT_VAL 120
|
||||||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
|
||||||
#endif
|
#endif
|
||||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
// RGB Matrix Animation modes. Explicitly enabled
|
||||||
// For full list of effects, see:
|
// For full list of effects, see:
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
||||||
|
|
|
@ -96,10 +96,10 @@
|
||||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||||
#define RGBLIGHT_EFFECT_TWINKLE
|
#define RGBLIGHT_EFFECT_TWINKLE
|
||||||
|
|
||||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
#define RGB_MATRIX_LED_COUNT 156
|
||||||
#define RGB_MATRIX_SPLIT RGBLED_SPLIT
|
#define RGB_MATRIX_SPLIT { 78, 78 }
|
||||||
#define RGB_MATRIX_CENTER { 81, 28 }
|
#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_FLUSH_LIMIT 33
|
||||||
#define RGB_MATRIX_LED_PROCESS_LIMIT 10
|
#define RGB_MATRIX_LED_PROCESS_LIMIT 10
|
||||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
|
|
Loading…
Reference in a new issue