From 2722b9b8c6c9464ca667d4f0e89ecc1ce972c298 Mon Sep 17 00:00:00 2001 From: Sean Brody Date: Fri, 21 Jan 2022 13:54:07 -0500 Subject: [PATCH] Disabled eeprom save/load and fixed compile issue See #13782 and #12697 for info on compile issuee --- keyboards/massdrop/alt/keymaps/ifonefox/keymap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/massdrop/alt/keymaps/ifonefox/keymap.c b/keyboards/massdrop/alt/keymaps/ifonefox/keymap.c index 10a12d5404a9..141377c98a76 100644 --- a/keyboards/massdrop/alt/keymaps/ifonefox/keymap.c +++ b/keyboards/massdrop/alt/keymaps/ifonefox/keymap.c @@ -155,7 +155,7 @@ void keyboard_post_init_user(void) { // Call the keymap level matrix init. // Read the user config from EEPROM - user_config.raw = eeconfig_read_user(); + //user_config.raw = eeconfig_read_user(); rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER); rgb_matrix_sethsv(HSV_WHITE); @@ -186,7 +186,7 @@ void cycle_colors(void) { rgb_matrix_sethsv(HSV_BLUE); } user_config.rgb_layer_change = !user_config.rgb_layer_change; - eeconfig_update_user(user_config.raw); + //eeconfig_update_user(user_config.raw); } bool process_record_user(uint16_t keycode, keyrecord_t *record) { @@ -278,7 +278,7 @@ void rgb_matrix_set_color_array(int keys[], size_t len, uint8_t red, uint8_t gre } void rgb_matrix_indicators_user(void) { // uint8_t this_led = host_keyboard_leds(); - if (!g_suspend_state && rgb_matrix_config.enable) { + if (rgb_matrix_config.enable) { switch (get_highest_layer(layer_state)) { case _QWERTY: break;