Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Oct 10, 2024
1 parent efed9f1 commit 381dd10
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/hepa-uv/core/uv_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ class UVMessageHandler {
return;
}

// The safety relay needs to be active (Door Closed, Reed Switch set, and
// Push Button pressed) in order to turn on the UV Light. So Send an
// error if the safety relay is not active when trying to turn on the light.
// The safety relay needs to be active (Door Closed, Reed Switch set,
// and Push Button pressed) in order to turn on the UV Light. So Send an
// error if the safety relay is not active when trying to turn on the
// light.
update_safety_relay_state();
if (light_on && !safety_relay_active) {
if (_timer.is_running()) _timer.stop();
Expand Down

0 comments on commit 381dd10

Please sign in to comment.