aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mode/m75s
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2023-09-14 00:13:19 +0100
committerGitHub <[email protected]>2023-09-14 09:13:19 +1000
commit00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 (patch)
treeabbb0293f35b8f3d261bc04fc2eaba9ea47dded0 /keyboards/mode/m75s
parent36b4e290c8dd1d6b0156c5730df36930890dc605 (diff)
downloadqmk_firmware-00feff656f80d9c9bf57cb1c6ad94ef2f69f1440.tar.gz
qmk_firmware-00feff656f80d9c9bf57cb1c6ad94ef2f69f1440.zip
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/mode/m75s')
-rw-r--r--keyboards/mode/m75s/config.h3
-rw-r--r--keyboards/mode/m75s/info.json5
2 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h
index 7fdb18d26a..4d3a7d5ca4 100644
--- a/keyboards/mode/m75s/config.h
+++ b/keyboards/mode/m75s/config.h
@@ -20,6 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_DEFAULT_LEVEL 20
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
-
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
-#define WEAR_LEVELING_BACKING_SIZE 4096
diff --git a/keyboards/mode/m75s/info.json b/keyboards/mode/m75s/info.json
index bf60aebd56..df4d1ab451 100644
--- a/keyboards/mode/m75s/info.json
+++ b/keyboards/mode/m75s/info.json
@@ -13,6 +13,11 @@
"rows": ["C5", "B0", "B14", "B15", "C7", "C9", "A15"]
},
"diode_direction": "COL2ROW",
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"backlight": {
"pin": "C6",
"levels": 20,