From 4a64d47f1268c037688b53cbf5bbecc17c5fec96 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 14 Feb 2024 08:54:24 +0000 Subject: Migrate WEAR_LEVELING_* to info.json (#23077) --- keyboards/keychron/q6/config.h | 4 ---- keyboards/keychron/q6/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/keychron/q6') diff --git a/keyboards/keychron/q6/config.h b/keyboards/keychron/q6/config.h index b77066760d..a9d2a95b97 100644 --- a/keyboards/keychron/q6/config.h +++ b/keyboards/keychron/q6/config.h @@ -29,7 +29,3 @@ #define SNLED27351_CURRENT_TUNE \ { 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52, 0xA4, 0xA4, 0x52 } - -/* EEPROM Driver Configuration */ -#define WEAR_LEVELING_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) diff --git a/keyboards/keychron/q6/info.json b/keyboards/keychron/q6/info.json index 35faaa62f9..94a45db562 100644 --- a/keyboards/keychron/q6/info.json +++ b/keyboards/keychron/q6/info.json @@ -1,4 +1,9 @@ { + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "dip_switch": { "matrix_grid": [ [5, 4] ] }, -- cgit v1.2.3