File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ void setup() {
3434
3535 // Configure SW0 for interrupt so we can wake the device up from sleep by
3636 // pressing the button
37- pinConfigure (SW0, PIN_DIR_INPUT | PIN_INT_FALL );
37+ pinConfigure (SW0, PIN_DIR_INPUT);
3838 attachInterrupt (SW0, buttonPressedInterrupt, FALLING);
3939
4040 // Now we configure the low power module for power down configuration, where
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ void setup() {
3333
3434 // Configure SW0 for interrupt so we can wake the device up from sleep by
3535 // pressing the button
36- pinConfigure (SW0, PIN_DIR_INPUT | PIN_INT_FALL );
36+ pinConfigure (SW0, PIN_DIR_INPUT);
3737 attachInterrupt (SW0, buttonPressedInterrupt, FALLING);
3838
3939 // Now we configure the power save configuration. Note that this has to be
You can’t perform that action at this time.
0 commit comments