fix(usb): Reset the watchdog while perfoming MSC operations
Compare changes
+ 9
− 0
@@ -24,6 +24,9 @@
@@ -96,6 +99,9 @@ static uint32_t mscmem_size(void)
@@ -105,6 +111,9 @@ static int mscmem_write(uint32_t lba, uint8_t *buffer)
The MSC interrupts can come in back to back, effectively blocking the FreeRTOS timer task which resets the watchdog. This simple fix simply resets the watchdog when performing an MSC read or write.
Closes #217 (closed)