This commit is contained in:
Wolfgang Hottgenroth 2021-02-06 15:31:03 +01:00
parent adf543eea7
commit cc2271840a
2 changed files with 11 additions and 3 deletions

View File

@ -9,7 +9,7 @@
#define EEPROM_WRITE_BLOCK_SIZE 32
#define EEPROM_AFTER_WRITE_DELAY 7
#define EEPROM_AFTER_WRITE_DELAY 10
typedef struct __attribute__((__packed__)) s_eepromHeader {

View File

@ -27,6 +27,11 @@ void my_errorHandler() {
show(LED_RED, ON);
}
void second_tick(void *handle) {
logMsg("Tick");
}
void my_setup_2() {
show(LED_RED, OFF);
@ -37,9 +42,11 @@ void my_setup_2() {
configInit();
wizInit();
// wizInit();
cmdHandlerInit();
// cmdHandlerInit();
schAdd(second_tick, NULL, 0, 60*1000);
logMsg("Application running");
}
@ -70,3 +77,4 @@ void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi) {
eepromSpiTxCpltCallback(hspi);
}
}