aboutsummaryrefslogtreecommitdiff
path: root/zephyr/mphalport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky2016-10-26 17:53:28 +0300
committerPaul Sokolovsky2016-10-26 17:53:28 +0300
commit3cdccb9b1429bc3afd04ec3f9171b373fe939375 (patch)
treeed648fa0baf48987af3307c5959c6080f4f43790 /zephyr/mphalport.h
parent6832cbd69d04db1703b8b17939d8cd894aea4c68 (diff)
zephyr: Fix mp_hal_set_interrupt_char() declaration to be compatible.
With other ports. Other ports declare it in mphalport.h, it can be inline or macro.
Diffstat (limited to 'zephyr/mphalport.h')
-rw-r--r--zephyr/mphalport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/mphalport.h b/zephyr/mphalport.h
index 594bdd6d0..a634455a8 100644
--- a/zephyr/mphalport.h
+++ b/zephyr/mphalport.h
@@ -1,4 +1,5 @@
#include <zephyr.h>
+#include "lib/utils/interrupt_char.h"
static inline mp_uint_t mp_hal_ticks_us(void) {
return sys_tick_get() * sys_clock_us_per_tick;