mirror of https://github.com/arendst/Tasmota.git
add ifndef to ensure "tasmota-minimal" still builds
This commit is contained in:
parent
aedfe35b01
commit
d966f1f74f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue