removed debug
Diff: Watchdog.cpp
- Revision:
- 8:c5a5935e59a4
- Parent:
- 7:76136c6dc64d
--- 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