Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed PID Sensorv2 xbeeCom
Diff: quadCommand/KL25Z_Watchdog.h
- Revision:
- 1:e4439be6e1b9
- Parent:
- 0:853ffcef6c67
--- a/quadCommand/KL25Z_Watchdog.h Wed Oct 15 04:59:58 2014 +0000 +++ b/quadCommand/KL25Z_Watchdog.h Sun Nov 02 19:18:55 2014 +0000 @@ -1,15 +1,13 @@ //The section commented out is the ideal way to set the actual Watchdog timer. -#ifdef DEBUG_WATCHDOG +#ifdef _DEBUG_WATCHDOG #include "mbed.h" Serial wd(USBTX, USBRX); #define NL "\n\r" - #define PRINT wd.printf //Serial.print(x) #define PRINTF wd.printf //Serial.print(x, y) #define PRINTLN(x) PRINT(x);PRINT(NL) #else - #define PRINT(x) - #define PRINTF(...) +// #define PRINTF(...) #define PRINTLN(x) #endif