diff --git a/os/rt/include/chbsem.h b/os/rt/include/chbsem.h index aa5fd7044..b25983118 100644 --- a/os/rt/include/chbsem.h +++ b/os/rt/include/chbsem.h @@ -72,7 +72,7 @@ * * @brief Binary semaphore type. */ -typedef struct { +typedef struct { semaphore_t bs_sem; } binary_semaphore_t; diff --git a/os/rt/include/chsys.h b/os/rt/include/chsys.h index e5134d2e8..6742259e3 100644 --- a/os/rt/include/chsys.h +++ b/os/rt/include/chsys.h @@ -343,7 +343,7 @@ static inline void chSysEnable(void) { * * @special */ -static inline void chSysLock(void) { +static inline void chSysLock(void) { port_lock(); _stats_start_measure_crit_thd();