arch/arm/nrf{52|53|91}: fix max timer timeout
fix prerpocessor value of max timer timeout
This commit is contained in:
parent
500b985874
commit
bcf309d80e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue