lmic fork for Senet NAMote
Fork of lmic_MOTE_L152RC_2 by
Diff: TARGET_MOTE_L152RC/hal.cpp
- Revision:
- 9:83ae7f34e88c
- Parent:
- 6:dfc048cda33f
- Child:
- 16:d5c50bdab1f1
diff -r 0faa1bb768b5 -r 83ae7f34e88c TARGET_MOTE_L152RC/hal.cpp --- a/TARGET_MOTE_L152RC/hal.cpp Wed Oct 21 01:03:34 2015 +0000 +++ b/TARGET_MOTE_L152RC/hal.cpp Mon Nov 16 23:52:45 2015 +0000 @@ -235,8 +235,9 @@ //printf("%x cr:%06x isr:%04x %d\r\n", RtcHandle.Instance->WUTR, RtcHandle.Instance->CR, RtcHandle.Instance->ISR, deep_sleep); //debug_done(); - if (deep_sleep) + if (deep_sleep) { debug_done(); // wait here if debug still printing + } if (__HAL_RTC_WAKEUPTIMER_GET_FLAG(&RtcHandle, RTC_FLAG_WUTF) == 0) { // set gpio for sleep