diff options
author | Stephane D'Alu <sdalu@sdalu.com> | 2016-07-10 10:48:04 +0200 |
---|---|---|
committer | Stephane D'Alu <sdalu@sdalu.com> | 2016-07-10 10:48:04 +0200 |
commit | 5259158d1727f3703bc90f88d50938eada316f67 (patch) | |
tree | f1e53477749e537639585384cbdc1bad2b21c5d6 /os/hal/ports/NRF5/NRF51822/hal_wdg_lld.c | |
parent | ba393d3ae1c78c881ff3bf67c68c1f7c7642bcb0 (diff) | |
download | ChibiOS-Contrib-5259158d1727f3703bc90f88d50938eada316f67.tar.gz ChibiOS-Contrib-5259158d1727f3703bc90f88d50938eada316f67.tar.bz2 ChibiOS-Contrib-5259158d1727f3703bc90f88d50938eada316f67.zip |
renamed NRF51_* to NRF5_*
Diffstat (limited to 'os/hal/ports/NRF5/NRF51822/hal_wdg_lld.c')
-rw-r--r-- | os/hal/ports/NRF5/NRF51822/hal_wdg_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/NRF5/NRF51822/hal_wdg_lld.c b/os/hal/ports/NRF5/NRF51822/hal_wdg_lld.c index 0ce37ee..4e946ee 100644 --- a/os/hal/ports/NRF5/NRF51822/hal_wdg_lld.c +++ b/os/hal/ports/NRF5/NRF51822/hal_wdg_lld.c @@ -55,7 +55,7 @@ WDGDriver WDGD1; * @brief Watchdog vector.
* @details This interrupt is used when watchdog timeout.
*
- * @note Only 2 cycles at NRF51_LFCLK_FREQUENCY are available
+ * @note Only 2 cycles at NRF5_LFCLK_FREQUENCY are available
* to they good bye.
*
* @isr
@@ -111,7 +111,7 @@ void wdg_lld_start(WDGDriver *wdgp) { (wdgp->config->flags.pause_on_halt * WDT_CONFIG_HALT_Msk );
/* Timeout in milli-seconds */
- uint64_t tout = (NRF51_LFCLK_FREQUENCY * wdgp->config->timeout_ms / 1000) - 1;
+ uint64_t tout = (NRF5_LFCLK_FREQUENCY * wdgp->config->timeout_ms / 1000) - 1;
osalDbgAssert(tout <= 0xFFFFFFFF, "watchdog timout value exceeded");
wdgp->wdt->CRV = (uint32_t)tout;
|