mirror of https://github.com/arendst/Tasmota.git
Fix some compile errors
This commit is contained in:
parent
0b08c72247
commit
f594c72609
|
@ -740,7 +740,9 @@ void ProcessDeviceGroupMessage(char * packet, int packet_length)
|
|||
}
|
||||
}
|
||||
else if (item == DGR_ITEM_EVENT) {
|
||||
#ifdef USE_RULES
|
||||
CmndEvent();
|
||||
#endif
|
||||
}
|
||||
XdrvCall(FUNC_DEVICE_GROUP_ITEM);
|
||||
}
|
||||
|
|
|
@ -53,6 +53,9 @@ void (* const ShutterCommand[])(void) PROGMEM = {
|
|||
const char JSON_SHUTTER_POS[] PROGMEM = "\"" D_PRFX_SHUTTER "%d\":{\"Position\":%d,\"Direction\":%d,\"Target\":%d}";
|
||||
const char JSON_SHUTTER_BUTTON[] PROGMEM = "\"" D_PRFX_SHUTTER "%d\":{\"Button%d\":%d}";
|
||||
|
||||
const char kCommands[] PROGMEM =
|
||||
D_CMND_WIFICONFIG " 2|" D_CMND_WIFICONFIG " 2|" D_CMND_WIFICONFIG " 2|" D_CMND_RESTART " 1|" D_CMND_UPGRADE " 1";
|
||||
|
||||
#include <Ticker.h>
|
||||
|
||||
Ticker TickerShutter;
|
||||
|
|
Loading…
Reference in New Issue