changes
This commit is contained in:
parent
adf543eea7
commit
cc2271840a
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#define EEPROM_WRITE_BLOCK_SIZE 32
|
#define EEPROM_WRITE_BLOCK_SIZE 32
|
||||||
#define EEPROM_AFTER_WRITE_DELAY 7
|
#define EEPROM_AFTER_WRITE_DELAY 10
|
||||||
|
|
||||||
|
|
||||||
typedef struct __attribute__((__packed__)) s_eepromHeader {
|
typedef struct __attribute__((__packed__)) s_eepromHeader {
|
||||||
|
@ -27,6 +27,11 @@ void my_errorHandler() {
|
|||||||
show(LED_RED, ON);
|
show(LED_RED, ON);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void second_tick(void *handle) {
|
||||||
|
logMsg("Tick");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void my_setup_2() {
|
void my_setup_2() {
|
||||||
show(LED_RED, OFF);
|
show(LED_RED, OFF);
|
||||||
@ -37,9 +42,11 @@ void my_setup_2() {
|
|||||||
|
|
||||||
configInit();
|
configInit();
|
||||||
|
|
||||||
wizInit();
|
// wizInit();
|
||||||
|
|
||||||
cmdHandlerInit();
|
// cmdHandlerInit();
|
||||||
|
|
||||||
|
schAdd(second_tick, NULL, 0, 60*1000);
|
||||||
logMsg("Application running");
|
logMsg("Application running");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,3 +77,4 @@ void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi) {
|
|||||||
eepromSpiTxCpltCallback(hspi);
|
eepromSpiTxCpltCallback(hspi);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user