24112016
Dependents: zz_Transmit 2017charger_16ampONLY 2017charger_16_32_Relay
Fork of Watchdog by
Diff: Watchdog.cpp
- Revision:
- 7:562d4888be2f
- Parent:
- 5:2dad2a78ffbd
--- a/Watchdog.cpp Mon Mar 16 01:04:32 2015 +0000 +++ b/Watchdog.cpp Thu Nov 24 15:34:47 2016 +0000 @@ -76,7 +76,7 @@ } /// Load timeout value in watchdog timer and enable -void Watchdog::Configure(int pr) { +void Watchdog::Configure(float pr) { // http://www.st.com/web/en/resource/technical/document/reference_manual/CD00171190.pdf IWDG->KR = 0x5555; // enable write to PR, RLR IWDG->PR = pr; // Init prescaler, page 486 Reference Manual