code crashes accessing randomization code

Dependencies:   LoRaWAN-SX1272-Application-24-31-9sec X_NUCLEO_IKS01A1 driver_mbed_TH02 LoRaWAN-lib-v1_0_1 SX1272Lib mbed

Fork of LoRaWAN-SX1272-Application-24-31-9sec by Oleh Zvonarov

Revision:
2:19dd7bfcacf7
Parent:
0:6cc76d70e2a1
--- a/app/SerialDisplay.cpp	Sat Apr 29 07:41:12 2017 +0000
+++ b/app/SerialDisplay.cpp	Sat Nov 04 20:05:46 2017 +0000
@@ -91,7 +91,7 @@
             newline = 0;
         }
 
-        printf( "%02X ", pData[i] );
+        printf( "%02X", pData[i] );
 
         if( ( ( i + 1 ) % 16 ) == 0 )
         {
@@ -143,7 +143,7 @@
     uint8_t *pData = ( uint8_t* )&DevAddr;
     for( int32_t i = 3; i >= 0; i-- )
     {
-        printf( "%02X ", pData[i] );
+        printf( "%02X", pData[i] );
     }
     printf( "\r\n" );