make sure code compiles with tasmota-minimal

This commit is contained in:
Marcus 2021-01-11 18:59:20 +01:00
parent 97f3a7d438
commit 611456327d
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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