diff options
author | Joel Challis <git@zvecr.com> | 2024-02-14 08:54:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 08:54:24 +0000 |
commit | 4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch) | |
tree | a356a34c9244c5b985556f133744dff81ee16973 /keyboards/keychron/q11 | |
parent | 50c5403612018ae940af311078dfb760f9b0c2ce (diff) |
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/keychron/q11')
-rwxr-xr-x | keyboards/keychron/q11/config.h | 4 | ||||
-rwxr-xr-x | keyboards/keychron/q11/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keychron/q11/config.h b/keyboards/keychron/q11/config.h index a00e550d09..b1b40c98ab 100755 --- a/keyboards/keychron/q11/config.h +++ b/keyboards/keychron/q11/config.h @@ -29,10 +29,6 @@ #define SNLED27351_CURRENT_TUNE \ { 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0x80, 0xFF, 0xFF } // 300mA -/* EEPROM Driver Configuration */ -#define WEAR_LEVELING_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) - /* Split Keyboard specific options. */ #define SERIAL_USART_TX_PIN A9 // USART TX pin diff --git a/keyboards/keychron/q11/info.json b/keyboards/keychron/q11/info.json index bd3bbd1999..db70d2b7b6 100755 --- a/keyboards/keychron/q11/info.json +++ b/keyboards/keychron/q11/info.json @@ -14,6 +14,11 @@ "dip_switch": { "pins": ["A8"] }, + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "features": { "bootmagic": true, "command": false, |