mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/rtc_api_hal.h
- Revision:
- 188:bcfe06ba3d64
- Parent:
- 186:707f6e361f3e
--- a/targets/TARGET_STM/rtc_api_hal.h Thu Sep 06 13:40:20 2018 +0100 +++ b/targets/TARGET_STM/rtc_api_hal.h Thu Nov 08 11:46:34 2018 +0000 @@ -81,7 +81,7 @@ /* PREDIV_S : 15-bit synchronous prescaler */ /* PREDIV_S is set in order to get a 1 Hz clock */ -#define PREDIV_S_VALUE RTC_CLOCK / (PREDIV_A_VALUE + 1) - 1 +#define PREDIV_S_VALUE (RTC_CLOCK / (PREDIV_A_VALUE + 1) - 1) /** Synchronise the RTC shadow registers. *