diff --git a/tfttask.ino b/tfttask.ino index b6c8cd2..1e06507 100644 --- a/tfttask.ino +++ b/tfttask.ino @@ -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] );