new

Dependencies:   mbed CANMsg

Revision:
4:d32258ec411f
Parent:
0:1e09cd7d66b4
diff -r c0f11ca4df02 -r d32258ec411f watchdog.cpp
--- a/watchdog.cpp	Fri Jun 15 17:10:37 2018 +0000
+++ b/watchdog.cpp	Wed Jun 27 15:33:42 2018 +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