From 656f2366c0c09fe5d116de7df59ed92f706a57fb Mon Sep 17 00:00:00 2001 From: Gondolindrim Date: Sun, 12 May 2024 23:48:35 -0300 Subject: [PATCH] Fix eeprom wear leveling def --- keyboards/typek/info.json | 1 + keyboards/typek/mcuconf.h | 14 -------------- keyboards/typek/typek.c | 1 - 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/keyboards/typek/info.json b/keyboards/typek/info.json index 00ac655265f..2c3218d7bc1 100644 --- a/keyboards/typek/info.json +++ b/keyboards/typek/info.json @@ -49,6 +49,7 @@ "eeprom": { "driver": "wear_leveling", "wear_leveling": { + "driver": "embedded_flash", "backing_size": 4096, "logical_size": 2048 } diff --git a/keyboards/typek/mcuconf.h b/keyboards/typek/mcuconf.h index 8f2f7e1cab5..bc2fd4f678d 100644 --- a/keyboards/typek/mcuconf.h +++ b/keyboards/typek/mcuconf.h @@ -15,21 +15,7 @@ */ #pragma once - #include_next -#undef STM32_PLLM_VALUE -#undef STM32_PLLN_VALUE -#undef STM32_PLLP_VALUE -#undef STM32_PLLQ_VALUE -#undef STM32_PPRE1 -#undef STM32_PPRE2 - -#define STM32_PLLM_VALUE 4 -#define STM32_PLLN_VALUE 72 -#define STM32_PLLP_VALUE 2 -#define STM32_PLLQ_VALUE 3 -#define STM32_PPRE1 STM32_PPRE1_DIV2 -#define STM32_PPRE2 STM32_PPRE2_DIV1 #undef STM32_PWM_USE_ADVANCED #define STM32_PWM_USE_ADVANCED TRUE diff --git a/keyboards/typek/typek.c b/keyboards/typek/typek.c index 4a8b11cf0b4..b0260ccc9fc 100644 --- a/keyboards/typek/typek.c +++ b/keyboards/typek/typek.c @@ -15,7 +15,6 @@ */ #include "quantum.h" -#include "print.h" // This function gets called when caps, num, scroll change bool led_update_kb(led_t led_state) {