From 0816648edb874988fce8124fa3808b7b8f49c231 Mon Sep 17 00:00:00 2001 From: Cellie Date: Fri, 19 Jul 2019 22:34:56 +0200 Subject: [PATCH] Make intention more clear. --- tfttask.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] );