aboutsummaryrefslogtreecommitdiff
path: root/stmhal/pyexec.c
diff options
context:
space:
mode:
authorDamien George2014-03-14 00:33:07 +0000
committerDamien George2014-03-14 00:33:07 +0000
commit33bdd2119d9ca28404acc2b0891d5a74997a0d05 (patch)
tree0738cc145c8fb8779c104c250b5aec44c259b5ae /stmhal/pyexec.c
parentb30c02afa078f7713faa14087ae28433dee49027 (diff)
parentdeb413e8baf96a4638c73f26fbe4de99380abaf9 (diff)
Merge branch 'master' of github.com:micropython/micropython
Conflicts: stmhal/main.c
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 2eca892a9..4f2e3dd9d 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);
}
}