Skip to content

Commit

Permalink
Make intention more clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
CelliesProjects committed Jul 19, 2019
1 parent 21d3b98 commit 0816648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfttask.ino
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ void showStatus()
}

// if the temperature changed update the display
if ( tftClearScreen || displayedTemp[num] != logger.sensorTemp( num ) )
if ( tftClearScreen || ( displayedTemp[num] != logger.sensorTemp( num ) ) )
{
snprintf( tempArea[num].text, sizeof( tempArea[num].text ), " %.1f%c ", logger.sensorTemp( num ), char(247) );
button.updateText( tempArea[num] );
Expand Down

0 comments on commit 0816648

Please sign in to comment.