mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 11:28:22 +08:00
arch/arm/nrf{52|53|91}: fix max timer timeout
fix prerpocessor value of max timer timeout
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user