We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44da41f commit 16a0ab9Copy full SHA for 16a0ab9
src/OneButton.cpp
@@ -30,7 +30,7 @@ OneButton::OneButton() {
30
31
// Initialize the OneButton library.
32
OneButton::OneButton(const int pin, const bool activeLow, const bool pullupActive) {
33
- init(pin, pullupActive ? INPUT_PULLUP : INPUT, activeLow);
+ setup(pin, pullupActive ? INPUT_PULLUP : INPUT, activeLow);
34
} // OneButton
35
36
0 commit comments