From 505db01de1536c5ad4b6c908083c52625274a1b2 Mon Sep 17 00:00:00 2001 From: Aleksander Belov Date: Fri, 30 Aug 2024 00:10:25 +0700 Subject: [PATCH] removed warning --- hot_fermentation.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hot_fermentation.ino b/hot_fermentation.ino index 902558a..ea5ce1c 100644 --- a/hot_fermentation.ino +++ b/hot_fermentation.ino @@ -10,7 +10,7 @@ int max_SCK = 13; MAX6675 thermocouple(max_SCK, max_CS, max_SO); // OLED configuration -GyverOLED oled; +GyverOLED oled; // SSR pin configuration const int ssrPin = 7; @@ -95,7 +95,7 @@ void loop() { } // Check if the phase duration is complete - if ((currentTime - phaseStartTime) / 1000 >= activeProfile.phases[currentPhase].duration * 60) { + if ((unsigned long)((currentTime - phaseStartTime) / 1000) >= (unsigned long)activeProfile.phases[currentPhase].duration * 60) { currentPhase++; if (currentPhase >= activeProfile.numPhases) { oled.clear();