diff options
author | Damien George <damien.p.george@gmail.com> | 2014-03-14 00:29:51 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-03-14 00:29:51 +0000 |
commit | deb413e8baf96a4638c73f26fbe4de99380abaf9 (patch) | |
tree | 411f696aa43aa55a68df5af05b3921370957fcb1 /stmhal/pybmodule.c | |
parent | 536dde254be99e19700a0934af38b913256475e3 (diff) | |
parent | 9db719bb57626d72ab84ab0ccd2294bf89158762 (diff) |
Merge pull request #345 from dhylands/stmhal-systick-cleanup
stmhal - More systick cleanup. Fix HAL_Delay
Diffstat (limited to 'stmhal/pybmodule.c')
-rw-r--r-- | stmhal/pybmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pybmodule.c b/stmhal/pybmodule.c index f0a7ebb6d..b03951439 100644 --- a/stmhal/pybmodule.c +++ b/stmhal/pybmodule.c @@ -116,7 +116,7 @@ STATIC mp_obj_t pyb_millis(void) { STATIC MP_DEFINE_CONST_FUN_OBJ_0(pyb_millis_obj, pyb_millis); STATIC mp_obj_t pyb_delay(mp_obj_t count) { - sys_tick_delay_ms(mp_obj_get_int(count)); + HAL_Delay(mp_obj_get_int(count)); return mp_const_none; } |