aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gos/gos_chibios.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gos/gos_chibios.h b/src/gos/gos_chibios.h
index a07c72ab..a3aba712 100644
--- a/src/gos/gos_chibios.h
+++ b/src/gos/gos_chibios.h
@@ -28,6 +28,10 @@
* are already defined by ChibiOS
*/
+#if CH_KERNEL_MAJOR == 3
+ typedef char bool_t;
+#endif
+
typedef systime_t delaytime_t;
typedef systime_t systemticks_t;
typedef cnt_t semcount_t;