Senet-ized LMIC for MOTE_L152RC
Fork of lmic_MOTE_L152RC by
Diff: TARGET_MOTE_L152RC/debug.cpp
- Revision:
- 9:83ae7f34e88c
- Parent:
- 0:f2716e543d97
- Child:
- 12:be4139e16c6f
--- a/TARGET_MOTE_L152RC/debug.cpp Wed Oct 21 01:03:34 2015 +0000 +++ b/TARGET_MOTE_L152RC/debug.cpp Mon Nov 16 23:52:45 2015 +0000 @@ -70,7 +70,12 @@ void debug_done() { + volatile int i; + /* block until last bit sent out debug UART */ while (!(USART2->SR & UART_FLAG_TC)) __NOP(); + + for (i = 0; i < 0x200; i++) + __nop(); }