diff --git a/sonoff/settings.h b/sonoff/settings.h index 4d4192e34..e527d74b7 100644 --- a/sonoff/settings.h +++ b/sonoff/settings.h @@ -155,11 +155,9 @@ typedef union { typedef union { uint8_t data; struct { - uint8_t enable : 1; // Enable INPUT + uint8_t pinmode : 3; // Enable INPUT uint8_t pullup : 1; // Enable internal weak pull-up resistor - uint8_t inten : 1; // Enable Interrupt on PIN - uint8_t intmode : 1; // Change on STATE or match COMPARATOR - uint8_t intcomp : 1; // Interrupt COMPARATOR + uint8_t b4 : 1; uint8_t b5 : 1; uint8_t b6 : 1; uint8_t b7 : 1; @@ -413,4 +411,4 @@ typedef union { ADC_MODE(ADC_VCC); // Set ADC input for Power Supply Voltage usage #endif -#endif // _SETTINGS_H_ \ No newline at end of file +#endif // _SETTINGS_H_