Skip to content

Commit 6062aaa

Browse files
committed
remove cdc flush in idle hook since it use mutex now
1 parent e5ed778 commit 6062aaa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cores/nRF5/rtos.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ void vApplicationMallocFailedHook(void)
9999

100100
void vApplicationIdleHook( void )
101101
{
102-
// Internal background task
103-
#ifdef NRF52840_XXAA
104-
// flush cdc in case loop() is suspended for low-power
105-
tud_cdc_write_flush();
106-
#endif
107-
108102
// Call user callback if defined
109103
if ( rtos_idle_callback ) rtos_idle_callback();
110104
}

0 commit comments

Comments
 (0)