aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorPurdea Andrei <andrei@purdea.ro>2021-04-25 11:57:49 +0300
committerGitHub <noreply@github.com>2021-04-25 18:57:49 +1000
commit412e7a03e49d044a2dea0fb38b05fb24c8d6eabe (patch)
treee7de86f5551a638a335cc46aadfc3f59ec9d4802 /tmk_core/protocol
parent23e70fa857b295ded37d1989eab4556d64477ff0 (diff)
downloadqmk_firmware-412e7a03e49d044a2dea0fb38b05fb24c8d6eabe.tar.gz
qmk_firmware-412e7a03e49d044a2dea0fb38b05fb24c8d6eabe.zip
eeprom driver: Refactor where eeprom driver initialisation (and EEPROM emulation initialisation) occurs to make it non-target-specific. (#12671)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/chibios/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index 63e4c99d2..e2ec01118 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -51,12 +51,6 @@
51#ifdef MIDI_ENABLE 51#ifdef MIDI_ENABLE
52# include "qmk_midi.h" 52# include "qmk_midi.h"
53#endif 53#endif
54#ifdef STM32_EEPROM_ENABLE
55# include "eeprom_stm32.h"
56#endif
57#ifdef EEPROM_DRIVER
58# include "eeprom_driver.h"
59#endif
60#include "suspend.h" 54#include "suspend.h"
61#include "wait.h" 55#include "wait.h"
62 56
@@ -150,13 +144,6 @@ int main(void) {
150 halInit(); 144 halInit();
151 chSysInit(); 145 chSysInit();
152 146
153#ifdef STM32_EEPROM_ENABLE
154 EEPROM_Init();
155#endif
156#ifdef EEPROM_DRIVER
157 eeprom_driver_init();
158#endif
159
160 // TESTING 147 // TESTING
161 // chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL); 148 // chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
162 149