diff --git a/cores/nRF5/syscall_newlib.c b/cores/nRF5/syscall_newlib.c index 6a9afe5c..9b1209dd 100644 --- a/cores/nRF5/syscall_newlib.c +++ b/cores/nRF5/syscall_newlib.c @@ -76,17 +76,12 @@ caddr_t _sbrk( int incr ) void __malloc_lock(struct _reent *ptr) { (void) ptr; - ledOn(LED_RED); - vTaskSuspendAll(); } void __malloc_unlock(struct _reent *ptr) { (void) ptr; - - ledOn(LED_BLUE); - xTaskResumeAll(); }