diff options
author | Joel Challis <[email protected]> | 2024-02-14 08:54:24 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-14 08:54:24 +0000 |
commit | 4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch) | |
tree | a356a34c9244c5b985556f133744dff81ee16973 /keyboards/keychron/q1v2 | |
parent | 50c5403612018ae940af311078dfb760f9b0c2ce (diff) | |
download | qmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.tar.gz qmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.zip |
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/keychron/q1v2')
-rw-r--r-- | keyboards/keychron/q1v2/config.h | 4 | ||||
-rw-r--r-- | keyboards/keychron/q1v2/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keychron/q1v2/config.h b/keyboards/keychron/q1v2/config.h index 94341970b3..326e60e3c0 100644 --- a/keyboards/keychron/q1v2/config.h +++ b/keyboards/keychron/q1v2/config.h @@ -27,10 +27,6 @@ #define I2C1_TIMINGR_SCLH 15U #define I2C1_TIMINGR_SCLL 51U -/* EEPROM Driver Configuration */ -#define WEAR_LEVELING_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) - #define SNLED27351_PHASE_CHANNEL SNLED27351_SCAN_PHASE_9_CHANNEL /* Set LED driver current */ #define SNLED27351_CURRENT_TUNE \ diff --git a/keyboards/keychron/q1v2/info.json b/keyboards/keychron/q1v2/info.json index 33b9c094b8..ed718006e3 100644 --- a/keyboards/keychron/q1v2/info.json +++ b/keyboards/keychron/q1v2/info.json @@ -18,6 +18,11 @@ "rgb_matrix": true, "dip_switch": true }, + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "dip_switch": { "matrix_grid": [ [5, 4] ] }, |