Application example using LoRaWAN-lib MAC layer implementation for STM32 + SX1276 on OpenChirp
Dependencies: mbed LoRaWAN-lib SX1276Lib
Diff: app/SerialDisplay.cpp
- Revision:
- 3:9c6f7f082151
- Parent:
- 1:352f608c3337
- Child:
- 11:a2c88830d3bf
--- a/app/SerialDisplay.cpp Thu Nov 26 17:22:53 2015 +0000 +++ b/app/SerialDisplay.cpp Thu Jan 07 15:14:22 2016 +0000 @@ -41,15 +41,11 @@ } void SerialDisplayUpdateEui( uint8_t line, uint8_t *eui ) -{ // - // REMARK - // - // EUIs must be displayed in reverse order - // +{ vt.SetCursorPos( line, 27 ); for( uint8_t i = 0; i < 8; i++ ) { - vt.printf( "%02X ", eui[7 - i] ); + vt.printf( "%02X ", eui[i] ); } vt.SetCursorPos( line, 50 ); vt.printf( "]" ); @@ -213,7 +209,7 @@ SerialDisplayUpdateData( 28, buffer, bufferSize ); // Help message vt.SetCursorPos( 42, 1 ); - vt.printf( "To refresh screen please hit 'r' key.\r\n" ); + vt.printf( "To refresh screen please hit 'r' key." ); } void SerialDisplayUpdateDonwlinkRxData( bool state )