From b782cfff866d67a2066b6439336df930c42a6642 Mon Sep 17 00:00:00 2001 From: Chris Giacofei Date: Mon, 17 Jan 2022 17:43:13 -0500 Subject: [PATCH] Add compressor delay definition. --- temp_controller/temp_controller.ino | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/temp_controller/temp_controller.ino b/temp_controller/temp_controller.ino index b0cd4ec..5ae136a 100644 --- a/temp_controller/temp_controller.ino +++ b/temp_controller/temp_controller.ino @@ -4,6 +4,14 @@ /* Extra Libraries */ #include +/* Local includes */ +#incldue config.h + +// Set 10 minute compressor delay if not otherwise defined. +#ifndef COMP_DELAY +#define COMP_DELAY 600000 +#endif + byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; IPAddress ip(192, 168, 1, 177); IPAddress myDns(192, 168, 1, 1);