removed warning

This commit is contained in:
Alexander Belov 2024-08-30 00:10:25 +07:00
parent c402c63f3d
commit 505db01de1

View File

@ -10,7 +10,7 @@ int max_SCK = 13;
MAX6675 thermocouple(max_SCK, max_CS, max_SO);
// OLED configuration
GyverOLED<SSD1306_128x64, OLED_BUFFER> oled;
GyverOLED<SSD1306_128x64> 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();