remove unecessary variable and PilighttoMQTT call
This commit is contained in:
1 parent
d8dba15a81
commit
0e97e8615f
2 files changed
-8
No files matched your search
@@ -661,13 +661,6 @@ void loop()
|
|||||||
#ifdef ZgatewayPilight
|
#ifdef ZgatewayPilight
|
||||||
PilighttoMQTT();
|
PilighttoMQTT();
|
||||||
#endif
|
#endif
|
||||||
#ifdef ZgatewayPilight
|
|
||||||
if(PilighttoMQTT()){
|
|
||||||
trc(F("PilighttoMQTT OK"));
|
|
||||||
digitalWrite(led_receive, LOW);
|
|
||||||
timer_led_receive = millis();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#ifdef ZgatewaySRFB
|
#ifdef ZgatewaySRFB
|
||||||
SRFBtoMQTT();
|
SRFBtoMQTT();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
int InputStateGPIOKeyCode = 0x0f; // Set to 3 so that it reads on startup
|
int InputStateGPIOKeyCode = 0x0f; // Set to 3 so that it reads on startup
|
||||||
int lastInputStateGPIOKeyCode = 0x0f;
|
int lastInputStateGPIOKeyCode = 0x0f;
|
||||||
int lastLatchStateGPIOKeyCode = 0;
|
int lastLatchStateGPIOKeyCode = 0;
|
||||||
unsigned long lastDebounceTime = 0;
|
|
||||||
|
|
||||||
void setupGPIOKeyCode() {
|
void setupGPIOKeyCode() {
|
||||||
pinMode(GPIOKeyCode_LATCH_PIN, INPUT_PULLUP); //
|
pinMode(GPIOKeyCode_LATCH_PIN, INPUT_PULLUP); //
|
||||||
|
|||||||
Reference in new issue
Block a user