Skip to content

Commit 1016b5c

Browse files
dorkmoCopilot
andauthored
Update TankAlarm-112025-Client-BluesOpta/TankAlarm-112025-Client-BluesOpta.ino
Co-authored-by: Copilot <[email protected]>
1 parent 2df1017 commit 1016b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TankAlarm-112025-Client-BluesOpta/TankAlarm-112025-Client-BluesOpta.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ static void evaluateAlarms(uint8_t idx) {
15571557

15581558
// Handle digital sensors (float switches) differently
15591559
if (cfg.sensorType == SENSOR_DIGITAL) {
1560-
// For digital sensors, currentInches is either ACTIVATED_VALUE (1.0) or NOT_ACTIVATED_VALUE (0.0)
1560+
// For digital sensors, currentInches is either DIGITAL_SENSOR_ACTIVATED_VALUE (1.0) or DIGITAL_SENSOR_NOT_ACTIVATED_VALUE (0.0)
15611561
bool isActivated = (state.currentInches > DIGITAL_SWITCH_THRESHOLD);
15621562
bool shouldAlarm = false;
15631563
bool triggerOnActivated = true; // Track what condition triggers the alarm

0 commit comments

Comments
 (0)