From 5b92a738aec1f1589a311ff82c79727cf4453c6d Mon Sep 17 00:00:00 2001 From: Chris Giacofei Date: Fri, 14 Jan 2022 08:41:02 -0500 Subject: [PATCH] Formatting. --- boil_kettle/slowPWM.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/boil_kettle/slowPWM.h b/boil_kettle/slowPWM.h index 93614cc..ba30be7 100644 --- a/boil_kettle/slowPWM.h +++ b/boil_kettle/slowPWM.h @@ -25,13 +25,11 @@ class slowPWM { unsigned long offTime = period - onTime; unsigned long currentTime = millis(); - if (outputState == HIGH && (currentTime - lastSwitchTime >= onTime)) - { + if (outputState == HIGH && (currentTime - lastSwitchTime >= onTime)) { lastSwitchTime = currentTime; outputState = LOW; } - if (outputState == LOW && (currentTime - lastSwitchTime >= offTime)) - { + if (outputState == LOW && (currentTime - lastSwitchTime >= offTime)) { lastSwitchTime = currentTime; outputState = HIGH; }