From a6a380af6aedadcd813d9b523fa95e05b2a4e61e Mon Sep 17 00:00:00 2001 From: Konstantin Oblaukhov Date: Sun, 12 Jan 2020 13:33:24 +0700 Subject: [PATCH] Fix odd build error caused by header include order. --- os/hal/ports/NRF5/LLD/TIMERv1/hal_st_lld.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/os/hal/ports/NRF5/LLD/TIMERv1/hal_st_lld.h b/os/hal/ports/NRF5/LLD/TIMERv1/hal_st_lld.h index c026d2b0..566850d6 100644 --- a/os/hal/ports/NRF5/LLD/TIMERv1/hal_st_lld.h +++ b/os/hal/ports/NRF5/LLD/TIMERv1/hal_st_lld.h @@ -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. */ /*===========================================================================*/