[HAL:LPC11Uxx]: add error for unsupported ST configuration

This commit is contained in:
codetector 2020-12-29 04:12:23 -05:00
parent 20d1ab4a29
commit d93ab59b74
No known key found for this signature in database
GPG Key ID: 7D42AB4D2C7B40A4
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@
/* Derived constants and error checks. */
/*===========================================================================*/
#if OSAL_ST_MODE_PERIODIC == OSAL_ST_MODE_FREERUNNING
#error "OSAL_ST_MODE_FREERUNNING is not supported. Check CH_CFG_ST_TIMEDELTA"
#endif
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/