summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/hex6c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-14 00:13:19 +0100
committerGitHub <noreply@github.com>2023-09-14 09:13:19 +1000
commit00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 (patch)
treeabbb0293f35b8f3d261bc04fc2eaba9ea47dded0 /keyboards/mechlovin/hex6c
parent36b4e290c8dd1d6b0156c5730df36930890dc605 (diff)
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/mechlovin/hex6c')
-rw-r--r--keyboards/mechlovin/hex6c/config.h3
-rw-r--r--keyboards/mechlovin/hex6c/info.json5
2 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/mechlovin/hex6c/config.h b/keyboards/mechlovin/hex6c/config.h
index 4cfcaebcde..e74e7939c4 100644
--- a/keyboards/mechlovin/hex6c/config.h
+++ b/keyboards/mechlovin/hex6c/config.h
@@ -18,6 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define BACKLIGHT_PWM_DRIVER PWMD3
-
-#define WEAR_LEVELING_BACKING_SIZE 4096
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
diff --git a/keyboards/mechlovin/hex6c/info.json b/keyboards/mechlovin/hex6c/info.json
index dfeb91e0ba..483566e7f4 100644
--- a/keyboards/mechlovin/hex6c/info.json
+++ b/keyboards/mechlovin/hex6c/info.json
@@ -13,6 +13,11 @@
"rows": ["A10", "B13", "B12", "B11", "C14", "C15"]
},
"diode_direction": "COL2ROW",
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"encoder": {
"rotary": [
{"pin_a": "A15", "pin_b": "A2"}