Fix compilation warning for the DZ60RGB/DZ65RGB when RGB matrix is disabled (#9791)

This commit is contained in:
Michael Krasnitski 2020-07-22 01:55:35 -04:00 committed by GitHub
parent 74d3223fb5
commit d7a4b14bc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -92,7 +92,6 @@ led_config_t g_led_config = {
1, 1, 1, 1, 1, 4, 1, 1, 1
}
};
#endif
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
@ -110,3 +109,4 @@ void rgb_matrix_indicators_user(void) {
rgb_matrix_set_color(40, 0xFF, 0xFF, 0xFF);
}
}
#endif

View file

@ -90,7 +90,6 @@ led_config_t g_led_config = {
1, 1, 1, 1, 4, 1, 1, 1
}
};
#endif
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
@ -108,3 +107,4 @@ void rgb_matrix_indicators_user(void) {
rgb_matrix_set_color(40, 0xFF, 0xFF, 0xFF);
}
}
#endif

View file

@ -91,7 +91,6 @@ led_config_t g_led_config = {
1, 1, 1, 4, 1, 1, 1
}
};
#endif
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
@ -109,3 +108,4 @@ void rgb_matrix_indicators_user(void) {
rgb_matrix_set_color(41, 0xFF, 0xFF, 0xFF);
}
}
#endif

View file

@ -97,7 +97,6 @@ led_config_t g_led_config = {
1, 1, 1, 4, 1, 1, 1, 1, 1, 1
}
};
#endif
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
@ -115,3 +114,4 @@ void rgb_matrix_indicators_user(void) {
rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
}
}
#endif