diff options
Diffstat (limited to 'stmhal/modmachine.c')
-rw-r--r-- | stmhal/modmachine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/modmachine.c b/stmhal/modmachine.c index 16c50079d..d615a0f2b 100644 --- a/stmhal/modmachine.c +++ b/stmhal/modmachine.c @@ -324,7 +324,7 @@ STATIC mp_obj_t machine_freq(mp_uint_t n_args, const mp_obj_t *args) { //printf("%lu %lu %lu %lu %lu\n", sysclk_source, m, n, p, q); // let the USB CDC have a chance to process before we change the clock - HAL_Delay(5); + mp_hal_delay_ms(5); // desired system clock source is in sysclk_source RCC_ClkInitTypeDef RCC_ClkInitStruct; |