24112016
Dependents: zz_Transmit 2017charger_16ampONLY 2017charger_16_32_Relay
Fork of Watchdog by
Revision 7:562d4888be2f, committed 2016-11-24
- Comitter:
- jamesfryar
- Date:
- Thu Nov 24 15:34:47 2016 +0000
- Parent:
- 6:e0f547e22dd5
- Commit message:
- 24 11 2016
Changed in this revision
Watchdog.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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