os.urandom: remove unneeded sleep

This commit is contained in:
Jeff Epler 2020-01-08 16:48:17 -06:00
parent f1c2dee1c0
commit 1c6efb9e66
1 changed files with 0 additions and 2 deletions

View File

@ -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;