Skip to content

Commit 1c6efb9

Browse files
committed
os.urandom: remove unneeded sleep
1 parent f1c2dee commit 1c6efb9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ports/nrf/common-hal/os/__init__.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
#ifdef BLUETOOTH_SD
3333
#include "nrf_sdm.h"
34-
#include "tick.h"
3534
#endif
3635

3736
#include "nrf_rng.h"
@@ -81,7 +80,6 @@ bool common_hal_os_urandom(uint8_t *buffer, uint32_t length) {
8180
length -= request;
8281
} else {
8382
RUN_BACKGROUND_TASKS;
84-
tick_delay(500);
8583
}
8684
}
8785
return true;

0 commit comments

Comments
 (0)