Added Restart(by RESET) function from Standby mode only for some Nucleo boards (STM32 series)
Dependencies: LPC1114_WakeInterruptIn
Fork of WakeUp by
Example program using "Standby function" for Nucleo series is here.
/users/kenjiArai/code/Check_StandBy/
Revision 26:df9d01556394, committed 2017-10-03
- Comitter:
- kenjiArai
- Date:
- Tue Oct 03 00:30:47 2017 +0000
- Parent:
- 25:2bd9df8c3ac8
- Commit message:
- disable DEBUG mode
Changed in this revision
Device/WakeUp_STM32_others.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 2bd9df8c3ac8 -r df9d01556394 Device/WakeUp_STM32_others.cpp --- a/Device/WakeUp_STM32_others.cpp Thu Sep 21 21:53:16 2017 +0000 +++ b/Device/WakeUp_STM32_others.cpp Tue Oct 03 00:30:47 2017 +0000 @@ -9,17 +9,17 @@ #include "WakeUp.h" #include "rtc_api.h" -#define DEBUG +//#define DEBUG extern Serial pc; -#if 1 +#if 0 #define DBG(...) pc.printf(__VA_ARGS__) #else #define DBG(...) {;} #endif -#if 1 +#if 0 #define DBGP(...) pc.printf(__VA_ARGS__) #else #define DBGP(...) {;}