Skip to content

Commit

Permalink
Release im980a-field-test-v0.1.1a
Browse files Browse the repository at this point in the history
  • Loading branch information
Anol Paisal committed Jul 15, 2021
1 parent 10b7b41 commit 73634e4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/apps/LoRaMac/periodic-uplink-lpp/SKiM980A/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ int main( void )
StartTxProcess( LORAMAC_HANDLER_TX_ON_TIMER );

#if ( USE_OLED == 1)
DisplayProcess();
TimerStart(&DisplayTimer);
#endif

while( 1 )
Expand Down
6 changes: 4 additions & 2 deletions src/boards/SKiM980A/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion src/boards/SKiM980A/display-board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 73634e4

Please sign in to comment.