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/7
default-to-active-high
Michael Zanetti 2022-03-02 11:34:19 +01:00
parent 8d300d84c5
commit d2ab759ad3
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public:
private:
int m_gpioNumber;
bool m_activeLow = true;
bool m_activeLow = false;
bool m_repeateLongPressed = false;
int m_longPressedTimeout = 250;
QString m_name;