Move watchdog resets to only be in PID

This commit is contained in:
Ben V. Brown
2018-01-26 12:30:09 +11:00
parent 93869b979e
commit 715be0b0b6
4 changed files with 22 additions and 26 deletions

View File

@@ -90,7 +90,7 @@ void OLED::refresh() {
//Because I2C is shared, we cant task switch in the middle of the xfer
HAL_I2C_Master_Transmit(i2c, DEVICEADDR_OLED, screenBuffer, 12 + 96 * 2 + 1,
0xFFFF);
500);
taskEXIT_CRITICAL();
}