remove cdc flush in idle hook since it use mutex now

This commit is contained in:
hathach committed 2018-11-08 12:30:32 +07:00
1 parent e5ed77856b
commit 6062aaa5d5
1 file changed
-6
-6
View File
@@ -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();
}