Skip to content

Commit

Permalink
Fixed remaining time not showing on tft in SmartConfig mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
CelliesProjects committed Oct 20, 2020
1 parent 0d510f1 commit a61133d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wifitask.ino
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ void wifiTask( void * pvParameters ) {

if ( xTftTaskHandle ) {
tft.setCursor( 70, 100 );
tft.print( remainingSCTime );
tft.print( END_TIME - time( NULL ) );
tft.println( " seconds left. " );
}
else
digitalWrite( LED_BUILTIN, !gpio_get_level( gpio_num_t( LED_BUILTIN ) ) );
Expand Down

0 comments on commit a61133d

Please sign in to comment.