diff --git a/src/apps/LoRaMac/periodic-uplink-lpp/SKiM980A/main.c b/src/apps/LoRaMac/periodic-uplink-lpp/SKiM980A/main.c index 80e801926..5cd470228 100644 --- a/src/apps/LoRaMac/periodic-uplink-lpp/SKiM980A/main.c +++ b/src/apps/LoRaMac/periodic-uplink-lpp/SKiM980A/main.c @@ -316,7 +316,7 @@ int main( void ) StartTxProcess( LORAMAC_HANDLER_TX_ON_TIMER ); #if ( USE_OLED == 1) - DisplayProcess(); + TimerStart(&DisplayTimer); #endif while( 1 ) diff --git a/src/boards/SKiM980A/board.c b/src/boards/SKiM980A/board.c index ef9905454..8072613ff 100644 --- a/src/boards/SKiM980A/board.c +++ b/src/boards/SKiM980A/board.c @@ -179,10 +179,10 @@ void BoardInitPeriph( void ) Paint_DrawString_EN(10, 1, "EmOne", &Font20, BLACK, WHITE); Paint_DrawString_EN(10, 22, "LoRaWAN Survey", &Font12, BLACK, WHITE); Paint_DrawString_EN(10, 38, "Field test purpose", &Font8, BLACK, WHITE); - Paint_DrawString_EN(10, 48, "Ver 0.1.0", &Font12, BLACK, WHITE); + Paint_DrawString_EN(10, 48, "Ver 0.1.1a", &Font12, BLACK, WHITE); Paint_DrawLine(1,62, X, 62, WHITE, DOT_PIXEL_1X1, LINE_STYLE_SOLID); DisplayUpdate(); - HAL_Delay(500); + RtcDelayMs(500); } #endif @@ -728,6 +728,8 @@ int _read( int fd, const void *buf, size_t count ) while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; return bytesRead; } +#else +int _write(int c) { return -1; } #endif /* USE_GPS */ #else diff --git a/src/boards/SKiM980A/display-board.c b/src/boards/SKiM980A/display-board.c index d5aa1756b..9e8d68703 100644 --- a/src/boards/SKiM980A/display-board.c +++ b/src/boards/SKiM980A/display-board.c @@ -103,7 +103,10 @@ void DisplayMcuOnKey2Signal( void* context ) void DisplayMcuOnDisplayShowTimeout( void* context ) { TimerStop( &DisplayShowTimer ); - //TimerStop( &TxTimer ); + DisplayClear(); + Paint_DrawString_EN(5, 5, "Save mode!!!", &Font20, BLACK, WHITE); + DisplayUpdate(); + RtcDelayMs(1000); sleepDisplay = 0; DisplayMcuOnKey1Signal( context ); }