Another ChibiOS V5 fix

This commit is contained in:
inmarket 2018-07-08 09:46:29 +10:00
parent 853863254f
commit 63d6955992

View File

@ -30,7 +30,11 @@
* are already defined by ChibiOS * are already defined by ChibiOS
*/ */
typedef systime_t delaytime_t; #if CH_KERNEL_MAJOR <= 4
typedef systime_t delaytime_t;
#else
typedef sysinterval_t delaytime_t;
#endif
typedef systime_t systemticks_t; typedef systime_t systemticks_t;
typedef cnt_t semcount_t; typedef cnt_t semcount_t;
typedef msg_t threadreturn_t; typedef msg_t threadreturn_t;