mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 04:12:56 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
19b3aa3a12
@ -140,4 +140,8 @@
|
|||||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM2
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM2
|
||||||
#define WS2812_DMA_CHANNEL 2
|
#define WS2812_DMA_CHANNEL 2
|
||||||
|
|
||||||
|
#ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||||
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -39,6 +39,16 @@ led_config_t g_led_config = { {
|
|||||||
// 6 5 4 3
|
// 6 5 4 3
|
||||||
// 0
|
// 0
|
||||||
// 7 8 1 2
|
// 7 8 1 2
|
||||||
|
|
||||||
|
void suspend_power_down_kb(void) {
|
||||||
|
rgb_matrix_set_suspend_state(true);
|
||||||
|
suspend_power_down_user();
|
||||||
|
}
|
||||||
|
|
||||||
|
void suspend_wakeup_init_kb(void) {
|
||||||
|
rgb_matrix_set_suspend_state(false);
|
||||||
|
suspend_wakeup_init_user();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void matrix_init_kb(void) {
|
void matrix_init_kb(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user