diff --git a/arch/arm/src/nrf52/nrf52_tim_lowerhalf.c b/arch/arm/src/nrf52/nrf52_tim_lowerhalf.c index b57cfc1a42..2f9b349914 100644 --- a/arch/arm/src/nrf52/nrf52_tim_lowerhalf.c +++ b/arch/arm/src/nrf52/nrf52_tim_lowerhalf.c @@ -52,7 +52,7 @@ /* Maximum supported timeout */ -#define NRF52_TIMER_MAXTIMEOUT (NRF52_TIMER_MAX * 1000000 / NRF52_TIMER_PER) +#define NRF52_TIMER_MAXTIMEOUT (NRF52_TIMER_MAX * (1000000 / NRF52_TIMER_PER)) /**************************************************************************** * Private Types diff --git a/arch/arm/src/nrf53/nrf53_tim_lowerhalf.c b/arch/arm/src/nrf53/nrf53_tim_lowerhalf.c index c1f896dfc3..f183c95476 100644 --- a/arch/arm/src/nrf53/nrf53_tim_lowerhalf.c +++ b/arch/arm/src/nrf53/nrf53_tim_lowerhalf.c @@ -52,7 +52,7 @@ /* Maximum supported timeout */ -#define NRF53_TIMER_MAXTIMEOUT (NRF53_TIMER_MAX * 1000000 / NRF53_TIMER_PER) +#define NRF53_TIMER_MAXTIMEOUT (NRF53_TIMER_MAX * (1000000 / NRF53_TIMER_PER)) /**************************************************************************** * Private Types diff --git a/arch/arm/src/nrf91/nrf91_tim_lowerhalf.c b/arch/arm/src/nrf91/nrf91_tim_lowerhalf.c index d2a9faefe9..2c9941bebd 100644 --- a/arch/arm/src/nrf91/nrf91_tim_lowerhalf.c +++ b/arch/arm/src/nrf91/nrf91_tim_lowerhalf.c @@ -52,7 +52,7 @@ /* Maximum supported timeout */ -#define NRF91_TIMER_MAXTIMEOUT (NRF91_TIMER_MAX * 1000000 / NRF91_TIMER_PER) +#define NRF91_TIMER_MAXTIMEOUT (NRF91_TIMER_MAX * (1000000 / NRF91_TIMER_PER)) /**************************************************************************** * Private Types