mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-13 23:14:09 +00:00
Fix some more build failures (unrelated)
This commit is contained in:
parent
38c6ed75ac
commit
64f66410b2
@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "eeprom.h"
|
||||
|
||||
#ifndef EECONFIG_MAGIC_NUMBER
|
||||
# define EECONFIG_MAGIC_NUMBER (uint16_t)0xFEE6 // When changing, decrement this value to avoid future re-init issues
|
||||
|
@ -88,9 +88,7 @@ void suspend_power_down_keymap(void) {}
|
||||
*/
|
||||
void suspend_power_down_user(void) {
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
if (!g_suspend_state) {
|
||||
rgb_matrix_set_suspend_state(true);
|
||||
}
|
||||
rgb_matrix_set_suspend_state(true);
|
||||
#endif //RGB_MATRIX_ENABLE
|
||||
suspend_power_down_keymap();
|
||||
}
|
||||
@ -103,9 +101,7 @@ void suspend_wakeup_init_keymap(void) {}
|
||||
*/
|
||||
void suspend_wakeup_init_user(void) {
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
if (g_suspend_state) {
|
||||
rgb_matrix_set_suspend_state(false);
|
||||
}
|
||||
rgb_matrix_set_suspend_state(false);
|
||||
#endif //RGB_MATRIX_ENABLE
|
||||
suspend_wakeup_init_keymap();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user