arch/arm/nrf{52|53|91}: fix max timer timeout

fix prerpocessor value of max timer timeout
This commit is contained in:
raiden00pl 2024-10-05 13:23:40 +02:00 committed by Xiang Xiao
parent 500b985874
commit bcf309d80e
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@
/* Maximum supported timeout */ /* 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 * Private Types

View File

@ -52,7 +52,7 @@
/* Maximum supported timeout */ /* 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 * Private Types

View File

@ -52,7 +52,7 @@
/* Maximum supported timeout */ /* 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 * Private Types