mirror of https://github.com/nymea/nymea-gpio
Default GpioButton to active high, which is the more common default
(and also used to be the default in here, but only changed after fixing active high/low being swapped in https://github.com/nymea/nymea-gpio/pull/7default-to-active-high
parent
8d300d84c5
commit
d2ab759ad3
|
|
@ -59,7 +59,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int m_gpioNumber;
|
int m_gpioNumber;
|
||||||
bool m_activeLow = true;
|
bool m_activeLow = false;
|
||||||
bool m_repeateLongPressed = false;
|
bool m_repeateLongPressed = false;
|
||||||
int m_longPressedTimeout = 250;
|
int m_longPressedTimeout = 250;
|
||||||
QString m_name;
|
QString m_name;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue