aboutsummaryrefslogtreecommitdiff
path: root/keyboards/monsgeek/m1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/monsgeek/m1')
-rw-r--r--keyboards/monsgeek/m1/halconf.h2
-rw-r--r--keyboards/monsgeek/m1/keyboard.json2
-rw-r--r--keyboards/monsgeek/m1/m1.c2
3 files changed, 1 insertions, 5 deletions
diff --git a/keyboards/monsgeek/m1/halconf.h b/keyboards/monsgeek/m1/halconf.h
index 2f64e65393..2ddb9c35d8 100644
--- a/keyboards/monsgeek/m1/halconf.h
+++ b/keyboards/monsgeek/m1/halconf.h
@@ -17,7 +17,5 @@
#define HAL_USE_I2C TRUE
#define HAL_USE_SPI TRUE
-#define SPI_USE_WAIT TRUE
-#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
#include_next <halconf.h>
diff --git a/keyboards/monsgeek/m1/keyboard.json b/keyboards/monsgeek/m1/keyboard.json
index 1551b2a113..4cca5c8686 100644
--- a/keyboards/monsgeek/m1/keyboard.json
+++ b/keyboards/monsgeek/m1/keyboard.json
@@ -15,8 +15,6 @@
"bootmagic": true,
"mousekey": false,
"extrakey": true,
- "console": false,
- "command": false,
"nkro": true,
"encoder": true,
"rgb_matrix": true
diff --git a/keyboards/monsgeek/m1/m1.c b/keyboards/monsgeek/m1/m1.c
index 60479ab801..2f7365e562 100644
--- a/keyboards/monsgeek/m1/m1.c
+++ b/keyboards/monsgeek/m1/m1.c
@@ -190,7 +190,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
set_single_persistent_default_layer(MAC_B);
layer_state_set(1<<MAC_B);
keymap_config.no_gui = 0;
- eeconfig_update_keymap(keymap_config.raw);
+ eeconfig_update_keymap(&keymap_config);
}
return false;
case QK_RGB_MATRIX_TOGGLE: