summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q9_plus
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-14 08:54:24 +0000
committerGitHub <noreply@github.com>2024-02-14 08:54:24 +0000
commit4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch)
treea356a34c9244c5b985556f133744dff81ee16973 /keyboards/keychron/q9_plus
parent50c5403612018ae940af311078dfb760f9b0c2ce (diff)
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/keychron/q9_plus')
-rwxr-xr-xkeyboards/keychron/q9_plus/config.h4
-rwxr-xr-xkeyboards/keychron/q9_plus/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keychron/q9_plus/config.h b/keyboards/keychron/q9_plus/config.h
index c927c4854f..340d565490 100755
--- a/keyboards/keychron/q9_plus/config.h
+++ b/keyboards/keychron/q9_plus/config.h
@@ -30,9 +30,5 @@
#define SNLED27351_CURRENT_TUNE \
{ 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70 }
-/* EEPROM Driver Configuration */
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
-#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
-
/* Old default behavior of mod-taps */
#define HOLD_ON_OTHER_KEY_PRESS
diff --git a/keyboards/keychron/q9_plus/info.json b/keyboards/keychron/q9_plus/info.json
index 0da6a47f27..927f5094a6 100755
--- a/keyboards/keychron/q9_plus/info.json
+++ b/keyboards/keychron/q9_plus/info.json
@@ -19,6 +19,11 @@
"nkro": true,
"rgb_matrix": true
},
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"dip_switch": {
"matrix_grid": [ [3, 4] ]
},