From 611456327d320cb7775b1f219ebc34e960b712f2 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 11 Jan 2021 18:59:20 +0100 Subject: [PATCH] make sure code compiles with tasmota-minimal --- tasmota/xdrv_48_timeprop.ino | 2 ++ tasmota/xdrv_49_pid.ino | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tasmota/xdrv_48_timeprop.ino b/tasmota/xdrv_48_timeprop.ino index 684d6e4b3..a885f242d 100644 --- a/tasmota/xdrv_48_timeprop.ino +++ b/tasmota/xdrv_48_timeprop.ino @@ -18,6 +18,7 @@ */ #ifdef USE_TIMEPROP +#ifndef FIRMWARE_MINIMAL /*********************************************************************************************\ * Code to drive one or more relays in a time proportioned manner give a * required power value. @@ -249,4 +250,5 @@ bool Xdrv48(byte function) { return result; } +#endif // FIRMWARE_MINIMAL #endif // USE_TIMEPROP diff --git a/tasmota/xdrv_49_pid.ino b/tasmota/xdrv_49_pid.ino index e44a7e6f1..c3341b008 100644 --- a/tasmota/xdrv_49_pid.ino +++ b/tasmota/xdrv_49_pid.ino @@ -18,6 +18,7 @@ */ #ifdef USE_PID +#ifndef FIRMWARE_MINIMAL /*********************************************************************************************\ * Uses the library https://github.com/colinl/process-control.git from Github * In user_config_override.h include code as follows: @@ -439,4 +440,5 @@ bool Xdrv49(byte function) { } return result; } +#endif //FIRMWARE_MINIMAL #endif // USE_PID