diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-03-13 15:40:34 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-03-13 16:17:01 -0700 |
commit | 9db719bb57626d72ab84ab0ccd2294bf89158762 (patch) | |
tree | 411f696aa43aa55a68df5af05b3921370957fcb1 /stmhal/pyexec.c | |
parent | 536dde254be99e19700a0934af38b913256475e3 (diff) | |
download | micropython-9db719bb57626d72ab84ab0ccd2294bf89158762.tar.gz micropython-9db719bb57626d72ab84ab0ccd2294bf89158762.zip |
stmhal - More systick cleanup. Fix HAL_Delay
Diffstat (limited to 'stmhal/pyexec.c')
-rw-r--r-- | stmhal/pyexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c index 2eca892a90..4f2e3dd9d5 100644 --- a/stmhal/pyexec.c +++ b/stmhal/pyexec.c @@ -59,7 +59,7 @@ int stdin_rx_chr(void) { if (pyb_usart_global_debug != PYB_USART_NONE && usart_rx_any(pyb_usart_global_debug)) { return usart_rx_char(pyb_usart_global_debug); } - sys_tick_delay_ms(1); + HAL_Delay(1); #if 0 if (storage_needs_flush()) { storage_flush(); @@ -142,7 +142,7 @@ int readline(vstr_t *line, const char *prompt) { } else { escape = 0; } - sys_tick_delay_ms(1); + HAL_Delay(1); } } |