diff --git a/os/hal/ports/STM32/TIMv1/st_lld.c b/os/hal/ports/STM32/TIMv1/st_lld.c index 090b7a4fe..a8ef5896d 100644 --- a/os/hal/ports/STM32/TIMv1/st_lld.c +++ b/os/hal/ports/STM32/TIMv1/st_lld.c @@ -26,7 +26,6 @@ #if (OSAL_ST_MODE != OSAL_ST_MODE_NONE) || defined(__DOXYGEN__) - /*===========================================================================*/ /* Driver local definitions. */ /*===========================================================================*/ diff --git a/os/rt/osal/osal.h b/os/rt/osal/osal.h index 4569d7c4f..868fca249 100644 --- a/os/rt/osal/osal.h +++ b/os/rt/osal/osal.h @@ -131,6 +131,12 @@ /* Module data structures and types. */ /*===========================================================================*/ +/* Temporary types provided for ChibiOS 2.x compatibility.*/ +typedef io_queue_t GenericQueue; +typedef input_queue_t InputQueue; +typedef output_queue_t OutputQueue; +typedef bool bool_t; + #if 0 /** * @brief Type of a system status word.