mirror of
https://github.com/amperka/TroykaMQ.git
synced 2025-03-15 04:27:34 +03:00
Merge pull request #2 from CAHEK7/debugOutput
hide debug output under '#define MQDEBUG' macro (fix for issue #1)
This commit is contained in:
commit
13129683df
@ -96,13 +96,17 @@ void BaseMQ::cycleHeat() {
|
||||
_heater = false;
|
||||
_cooler = false;
|
||||
heaterPwrHigh();
|
||||
#ifdef MQDEBUG
|
||||
Serial.println("Heated sensor");
|
||||
#endif //MQDEBUG
|
||||
}
|
||||
|
||||
bool BaseMQ::atHeatCycleEnd() {
|
||||
if (heatingCompleted()) {
|
||||
heaterPwrLow();
|
||||
#ifdef MQDEBUG
|
||||
Serial.println("Cool sensor");
|
||||
#endif //MQDEBUG
|
||||
return false;
|
||||
} else if (coolanceCompleted()) {
|
||||
heaterPwrOff();
|
||||
|
Loading…
x
Reference in New Issue
Block a user