Skip to content

Commit

Permalink
Disabled eeprom save/load and fixed compile issue
Browse files Browse the repository at this point in the history
See qmk#13782 and qmk#12697 for info on compile issuee
  • Loading branch information
ifonefox committed Jan 21, 2022
1 parent aef3578 commit 2722b9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keyboards/massdrop/alt/keymaps/ifonefox/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2722b9b

Please sign in to comment.