summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pyexec.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-14 00:29:51 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-14 00:29:51 +0000
commitdeb413e8baf96a4638c73f26fbe4de99380abaf9 (patch)
tree411f696aa43aa55a68df5af05b3921370957fcb1 /stmhal/pyexec.c
parent536dde254be99e19700a0934af38b913256475e3 (diff)
parent9db719bb57626d72ab84ab0ccd2294bf89158762 (diff)
downloadmicropython-deb413e8baf96a4638c73f26fbe4de99380abaf9.tar.gz
micropython-deb413e8baf96a4638c73f26fbe4de99380abaf9.zip
Merge pull request #345 from dhylands/stmhal-systick-cleanup
stmhal - More systick cleanup. Fix HAL_Delay
Diffstat (limited to 'stmhal/pyexec.c')
-rw-r--r--stmhal/pyexec.c4
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);
}
}