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/c2_pro | |
parent | 50c5403612018ae940af311078dfb760f9b0c2ce (diff) |
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/keychron/c2_pro')
-rw-r--r-- | keyboards/keychron/c2_pro/config.h | 4 | ||||
-rw-r--r-- | keyboards/keychron/c2_pro/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keychron/c2_pro/config.h b/keyboards/keychron/c2_pro/config.h index 7422e29f6f..1ddb0c4006 100644 --- a/keyboards/keychron/c2_pro/config.h +++ b/keyboards/keychron/c2_pro/config.h @@ -16,10 +16,6 @@ #pragma once -/* EEPROM Driver Configuration */ -#define WEAR_LEVELING_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) - /* Increase I2C speed to 1000 KHz */ #define I2C1_TIMINGR_PRESC 0U #define I2C1_TIMINGR_SCLDEL 3U diff --git a/keyboards/keychron/c2_pro/info.json b/keyboards/keychron/c2_pro/info.json index 736a2e86a1..4b11fc213a 100644 --- a/keyboards/keychron/c2_pro/info.json +++ b/keyboards/keychron/c2_pro/info.json @@ -8,6 +8,11 @@ "usb": { "vid": "0x3434" }, + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "features": { "bootmagic": true, "command": false, |