removed debug
Revision 8:c5a5935e59a4, committed 2020-09-29
- Comitter:
- spin7ion
- Date:
- Tue Sep 29 17:39:13 2020 +0000
- Parent:
- 7:76136c6dc64d
- Commit message:
- removed unnecessary debug
Changed in this revision
Watchdog.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 76136c6dc64d -r c5a5935e59a4 Watchdog.cpp --- a/Watchdog.cpp Mon Aug 07 07:48:29 2017 +0000 +++ b/Watchdog.cpp Tue Sep 29 17:39:13 2020 +0000 @@ -100,7 +100,7 @@ ReloadValue = (uint32_t)(timeout * (LsiFreq/Prescaler)); Calculated_timeout = ((float)(Prescaler * ReloadValue)) / LsiFreq; - printf("WATCHDOG set with prescaler:%d reload value: 0x%X - timeout:%f\n",Prescaler, ReloadValue, Calculated_timeout); + //printf("WATCHDOG set with prescaler:%d reload value: 0x%X - timeout:%f\n",Prescaler, ReloadValue, Calculated_timeout); IWDG->KR = 0x5555; //Disable write protection of IWDG registers IWDG->PR = PrescalerCode; //Set PR value