diff --git a/tasmota/xdrv_48_timeprop.ino b/tasmota/xdrv_48_timeprop.ino index a457c8d94..f11d5e46b 100644 --- a/tasmota/xdrv_48_timeprop.ino +++ b/tasmota/xdrv_48_timeprop.ino @@ -79,6 +79,7 @@ #ifdef USE_TIMEPROP +#ifndef FIRMWARE_MINIMAL # include "Timeprop.h" @@ -153,6 +154,7 @@ bool Timeprop_Command() char command [CMDSZ]; bool serviced = true; uint8_t ua_prefix_len = strlen(D_CMND_TIMEPROP); // to detect prefix of command + AddLog_P(LOG_LEVEL_ERROR, PSTR("TRP: Timeprop_Command called")); /* snprintf_P(log_data, sizeof(log_data), "Command called: " "index: %d data_len: %d payload: %d topic: %s data: %s\n", @@ -220,4 +222,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 eda2b633f..fdc02ea50 100644 --- a/tasmota/xdrv_49_pid.ino +++ b/tasmota/xdrv_49_pid.ino @@ -129,6 +129,7 @@ #ifdef USE_PID +#ifndef FIRMWARE_MINIMAL #include "PID.h" @@ -410,4 +411,5 @@ bool Xdrv49(byte function) } return result; } +#endif // FIRMWARE_MINIMAL #endif // USE_PID