aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cipulot/ec_980c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cipulot/ec_980c')
-rw-r--r--keyboards/cipulot/ec_980c/ec_980c.c4
-rw-r--r--keyboards/cipulot/ec_980c/keyboard.json3
2 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/cipulot/ec_980c/ec_980c.c b/keyboards/cipulot/ec_980c/ec_980c.c
index eaa636ede6..7a2062a4e4 100644
--- a/keyboards/cipulot/ec_980c/ec_980c.c
+++ b/keyboards/cipulot/ec_980c/ec_980c.c
@@ -44,7 +44,7 @@ void eeconfig_init_kb(void) {
}
}
// Write default value to EEPROM now
- eeconfig_update_kb_datablock(&eeprom_ec_config);
+ eeconfig_update_kb_datablock(&eeprom_ec_config, 0, EECONFIG_KB_DATA_SIZE);
eeconfig_init_user();
}
@@ -52,7 +52,7 @@ void eeconfig_init_kb(void) {
// On Keyboard startup
void keyboard_post_init_kb(void) {
// Read custom menu variables from memory
- eeconfig_read_kb_datablock(&eeprom_ec_config);
+ eeconfig_read_kb_datablock(&eeprom_ec_config, 0, EECONFIG_KB_DATA_SIZE);
// Set runtime values to EEPROM values
ec_config.actuation_mode = eeprom_ec_config.actuation_mode;
diff --git a/keyboards/cipulot/ec_980c/keyboard.json b/keyboards/cipulot/ec_980c/keyboard.json
index 9be58d294c..823a761735 100644
--- a/keyboards/cipulot/ec_980c/keyboard.json
+++ b/keyboards/cipulot/ec_980c/keyboard.json
@@ -38,8 +38,7 @@
{"matrix": [0, 16], "x": 17, "y": 1, "flags": 4},
{"matrix": [0, 17], "x": 18, "y": 1, "flags": 4}
],
- "led_count": 3,
- "max_brightness": 255
+ "led_count": 3
},
"usb": {
"device_version": "0.0.1",