diff options
author | Damien George <damien.p.george@gmail.com> | 2017-03-02 15:02:57 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-03-02 15:02:57 +1100 |
commit | 6ab5512132d5b3d19a5bf029cb27829d41e76f8e (patch) | |
tree | d1dc10771b963ac3be632b2ba90e2499321d83ea /stmhal/modmachine.c | |
parent | 1f549a3496ac543390a170a7eb7b242475063016 (diff) |
stmhal: Use mp_hal_delay_ms instead of HAL_Delay.
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; |