mirror of https://github.com/arendst/Tasmota.git
Fix issue if STARTING_OFFSET is undefined
If STARTING_OFFSET is undefined in my_user_config.h file, the compilation fails due to this parameter is used in the defaults of settings.ino
This commit is contained in:
parent
3212d563f2
commit
4861e53330
|
@ -708,6 +708,10 @@ char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, c
|
|||
#define SWITCH_MODE TOGGLE // TOGGLE, FOLLOW or FOLLOW_INV (the wall switch state)
|
||||
#endif
|
||||
|
||||
#ifndef STARTING_OFFSET // NOVA SDS parameter used in settings
|
||||
#define STARTING_OFFSET 30
|
||||
#endif
|
||||
|
||||
#ifndef MQTT_FINGERPRINT1
|
||||
// Set an all-zeros default fingerprint to activate auto-learning on first connection (AWS IoT)
|
||||
#define MQTT_FINGERPRINT1 "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00"
|
||||
|
|
Loading…
Reference in New Issue