os.urandom: remove unneeded sleep
This commit is contained in:
parent
f1c2dee1c0
commit
1c6efb9e66
|
@ -31,7 +31,6 @@
|
|||
|
||||
#ifdef BLUETOOTH_SD
|
||||
#include "nrf_sdm.h"
|
||||
#include "tick.h"
|
||||
#endif
|
||||
|
||||
#include "nrf_rng.h"
|
||||
|
@ -81,7 +80,6 @@ bool common_hal_os_urandom(uint8_t *buffer, uint32_t length) {
|
|||
length -= request;
|
||||
} else {
|
||||
RUN_BACKGROUND_TASKS;
|
||||
tick_delay(500);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue