watchdogs sucks

master
Firmware Batman 2017-07-24 12:36:00 -07:00
parent 0a5a8ab5ec
commit a498ad94f3
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ static int ICACHE_FLASH_ATTR __spi_comm(char *dat, int len, uint32_t *recvData,
// give the ST time to be ready, up to 1s
for (int i = 0;(gpio_input_get() & (1 << 4)) && i < 100000; i++) {
os_delay_us(10);
system_soft_wdt_feed();
}
// TODO: handle this better