added missing variable defs and pinmode

This commit is contained in:
Adam Mealings 2025-05-20 15:16:56 +01:00
parent 726273f548
commit 009173ab9e
2 changed files with 5 additions and 0 deletions

View file

@ -26,6 +26,10 @@ void RAK4631Board::begin() {
pinMode(PIN_USER_BTN, INPUT_PULLUP);
#endif
#ifdef PIN_USER_BTN_ANA
pinMode(PIN_USER_BTN_ANA, INPUT_PULLUP);
#endif
#if defined(PIN_BOARD_SDA) && defined(PIN_BOARD_SCL)
Wire.setPins(PIN_BOARD_SDA, PIN_BOARD_SCL);
#endif