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();