Actually use eeprom_driver_init().

This commit is contained in:
Nick Brassel 2020-09-25 14:08:39 +10:00 committed by James Young
parent b1b7696347
commit 2f2432f0e5
No known key found for this signature in database
GPG key ID: 8E1085BF6FCFBD74
5 changed files with 37 additions and 43 deletions

View file

@ -54,6 +54,9 @@
#ifdef STM32_EEPROM_ENABLE
# include "eeprom_stm32.h"
#endif
#ifdef EEPROM_DRIVER
# include "eeprom_driver.h"
#endif
#include "suspend.h"
#include "wait.h"
@ -150,6 +153,9 @@ int main(void) {
#ifdef STM32_EEPROM_ENABLE
EEPROM_Init();
#endif
#ifdef EEPROM_DRIVER
eeprom_driver_init();
#endif
// TESTING
// chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);