Fix eeprom wear leveling def

This commit is contained in:
Gondolindrim 2024-05-12 23:48:35 -03:00
parent 78ef3165a9
commit 656f2366c0
No known key found for this signature in database
GPG Key ID: A44E7AEDE212F56C
3 changed files with 1 additions and 15 deletions

View File

@ -49,6 +49,7 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
"driver": "embedded_flash",
"backing_size": 4096,
"logical_size": 2048
}

View File

@ -15,21 +15,7 @@
*/
#pragma once
#include_next <mcuconf.h>
#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

View File

@ -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) {