lmic fork for Senet NAMote
Fork of lmic_MOTE_L152RC_2 by
Diff: TARGET_MOTE_L152RC/hal.cpp
- Revision:
- 16:d5c50bdab1f1
- Parent:
- 9:83ae7f34e88c
diff -r 6dd9fef6ba14 -r d5c50bdab1f1 TARGET_MOTE_L152RC/hal.cpp --- a/TARGET_MOTE_L152RC/hal.cpp Fri Sep 02 14:08:20 2016 +0000 +++ b/TARGET_MOTE_L152RC/hal.cpp Tue Nov 01 13:20:56 2016 -0400 @@ -235,9 +235,8 @@ //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