remove cdc flush in idle hook since it use mutex now
This commit is contained in:
1 parent
e5ed77856b
commit
6062aaa5d5
1 file changed
-6
@@ -99,12 +99,6 @@ void vApplicationMallocFailedHook(void)
|
||||
|
||||
void vApplicationIdleHook( void )
|
||||
{
|
||||
// Internal background task
|
||||
#ifdef NRF52840_XXAA
|
||||
// flush cdc in case loop() is suspended for low-power
|
||||
tud_cdc_write_flush();
|
||||
#endif
|
||||
|
||||
// Call user callback if defined
|
||||
if ( rtos_idle_callback ) rtos_idle_callback();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user