summaryrefslogtreecommitdiffstatshomepage
path: root/stm/systick.c
diff options
context:
space:
mode:
authorian-v <ianv888@gmail.com>2014-01-06 09:52:29 -0800
committerian-v <ianv888@gmail.com>2014-01-06 09:52:29 -0800
commit7a16fadbf843ca5d49fb20b5f5785ffccfd9019f (patch)
tree167d326efc1a1a75d3a371bbeab1a0bc4164fd9e /stm/systick.c
parente03c0533fe467439bae1addd6d2a2ee57a9370e4 (diff)
downloadmicropython-7a16fadbf843ca5d49fb20b5f5785ffccfd9019f.tar.gz
micropython-7a16fadbf843ca5d49fb20b5f5785ffccfd9019f.zip
Co-exist with C++ (issue #85)
Diffstat (limited to 'stm/systick.c')
-rw-r--r--stm/systick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/systick.c b/stm/systick.c
index 40ae532793..f9def4a026 100644
--- a/stm/systick.c
+++ b/stm/systick.c
@@ -43,7 +43,7 @@ void sys_tick_wait_at_least(uint32_t stc, uint32_t delay_ms) {
}
}
-bool sys_tick_has_passed(uint32_t stc, uint32_t delay_ms) {
+MP_BOOL sys_tick_has_passed(uint32_t stc, uint32_t delay_ms) {
// stc_wait is the value of sys_tick_counter that we wait for
uint32_t stc_wait = stc + delay_ms;
if (stc_wait < stc) {