first draft
Dependencies: LMiC SX1272Libx mbed
Fork of LoRaWAN-lmic-app by
Diff: debug.cpp
- Revision:
- 10:497ef83ca19f
- Parent:
- 9:0b63a0a90205
--- a/debug.cpp Thu Feb 25 21:29:13 2016 +0000 +++ b/debug.cpp Fri Feb 26 13:27:54 2016 +0000 @@ -59,6 +59,8 @@ } void debug_val (const u1_t* label, u4_t val) { + debug_uint(osticks2ms(hal_ticks())); + debug_str(" "); debug_str( label ); debug_uint( val ); debug_char( '\r' ); @@ -84,6 +86,8 @@ [EV_LINK_DEAD] = "LINK_DEAD", [EV_LINK_ALIVE] = "LINK_ALIVE", }; + debug_uint(osticks2ms(hal_ticks())); + debug_str(" "); debug_str(evnames[ev]); debug_char('\r'); debug_char('\n');