diff --git a/code/espurna/relay.ino b/code/espurna/relay.ino index 368f79ba..0a1c51bd 100644 --- a/code/espurna/relay.ino +++ b/code/espurna/relay.ino @@ -19,10 +19,10 @@ typedef struct { unsigned char pin; // GPIO pin for the relay unsigned char type; // RELAY_TYPE_NORMAL, RELAY_TYPE_INVERSE or RELAY_TYPE_LATCHED unsigned char reset_pin; // GPIO to reset the relay if RELAY_TYPE_LATCHED - unsigned char pulse; // RELAY_PULSE_NONE, RELAY_PULSE_OFF or RELAY_PULSE_ON - unsigned long pulse_ms; // Pulse length in millis unsigned long delay_on; // Delay to turn relay ON unsigned long delay_off; // Delay to turn relay OFF + unsigned char pulse; // RELAY_PULSE_NONE, RELAY_PULSE_OFF or RELAY_PULSE_ON + unsigned long pulse_ms; // Pulse length in millis // Status variables