aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keychron/v10
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-02-14 08:54:24 +0000
committerGitHub <[email protected]>2024-02-14 08:54:24 +0000
commit4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch)
treea356a34c9244c5b985556f133744dff81ee16973 /keyboards/keychron/v10
parent50c5403612018ae940af311078dfb760f9b0c2ce (diff)
downloadqmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.tar.gz
qmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.zip
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/keychron/v10')
-rw-r--r--keyboards/keychron/v10/config.h4
-rw-r--r--keyboards/keychron/v10/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keychron/v10/config.h b/keyboards/keychron/v10/config.h
index 0ee4686428..c084c4d47d 100644
--- a/keyboards/keychron/v10/config.h
+++ b/keyboards/keychron/v10/config.h
@@ -43,7 +43,3 @@
#define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL
#define SNLED27351_CURRENT_TUNE { 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A }
-
-/* EEPROM Driver Configuration */
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
-#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
diff --git a/keyboards/keychron/v10/info.json b/keyboards/keychron/v10/info.json
index ab790399e9..636ef2d9a2 100644
--- a/keyboards/keychron/v10/info.json
+++ b/keyboards/keychron/v10/info.json
@@ -1,4 +1,9 @@
{
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"dip_switch": {
"matrix_grid": [ [5, 5] ]
},