mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-12 19:01:35 +00:00
Fix eeprom wear leveling def
This commit is contained in:
parent
78ef3165a9
commit
656f2366c0
@ -49,6 +49,7 @@
|
|||||||
"eeprom": {
|
"eeprom": {
|
||||||
"driver": "wear_leveling",
|
"driver": "wear_leveling",
|
||||||
"wear_leveling": {
|
"wear_leveling": {
|
||||||
|
"driver": "embedded_flash",
|
||||||
"backing_size": 4096,
|
"backing_size": 4096,
|
||||||
"logical_size": 2048
|
"logical_size": 2048
|
||||||
}
|
}
|
||||||
|
@ -15,21 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include_next <mcuconf.h>
|
#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
|
#undef STM32_PWM_USE_ADVANCED
|
||||||
#define STM32_PWM_USE_ADVANCED TRUE
|
#define STM32_PWM_USE_ADVANCED TRUE
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
#include "print.h"
|
|
||||||
|
|
||||||
// This function gets called when caps, num, scroll change
|
// This function gets called when caps, num, scroll change
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
|
Loading…
Reference in New Issue
Block a user