diff --git a/src/hal/hal.cpp b/src/hal/hal.cpp index 91b0b4f8..6b7bfd43 100644 --- a/src/hal/hal.cpp +++ b/src/hal/hal.cpp @@ -130,6 +130,7 @@ static void hal_interrupt_init() { if (plmic_pins->dio[i] == LMIC_UNUSED_PIN) continue; + pinMode(plmic_pins->dio[i], INPUT); attachInterrupt(digitalPinToInterrupt(plmic_pins->dio[i]), interrupt_fns[i], RISING); } }