We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d24ab1 commit cff3696Copy full SHA for cff3696
core/MyInclusionMode.cpp
@@ -30,8 +30,7 @@ inline void inclusionInit()
30
_inclusionMode = false;
31
#if defined(MY_INCLUSION_BUTTON_FEATURE)
32
// Setup digital in that triggers inclusion mode
33
- hwPinMode(MY_INCLUSION_MODE_BUTTON_PIN, INPUT);
34
- hwDigitalWrite(MY_INCLUSION_MODE_BUTTON_PIN, HIGH);
+ hwPinMode(MY_INCLUSION_MODE_BUTTON_PIN, INPUT_PULLUP);
35
#endif
36
#if defined (MY_INCLUSION_LED_PIN)
37
// Setup LED pin that indicates inclusion mode
0 commit comments