Fix odd build error caused by header include order.

This commit is contained in:
Konstantin Oblaukhov 2020-01-12 13:33:24 +07:00
parent a396b22d9a
commit a6a380af6a
1 changed files with 1 additions and 2 deletions

View File

@ -120,11 +120,10 @@
#endif
#endif /* OSAL_ST_MODE == OSAL_ST_MODE_FREERUNNING */
#if !OSAL_IRQ_IS_VALID_PRIORITY(NRF5_ST_PRIORITY)
#if !PORT_IRQ_IS_VALID_KERNEL_PRIORITY(NRF5_ST_PRIORITY)
#error "Invalid IRQ priority assigned to ST driver"
#endif
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/