mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* build fix
This commit is contained in:
parent
6c434328b5
commit
25a68f5ca4
1 changed files with 2 additions and 0 deletions
|
|
@ -22,7 +22,9 @@ void RAK4631Board::begin() {
|
||||||
// for future use, sub-classes SHOULD call this from their begin()
|
// for future use, sub-classes SHOULD call this from their begin()
|
||||||
startup_reason = BD_STARTUP_NORMAL;
|
startup_reason = BD_STARTUP_NORMAL;
|
||||||
pinMode(PIN_VBAT_READ, INPUT);
|
pinMode(PIN_VBAT_READ, INPUT);
|
||||||
|
#ifdef PIN_USER_BTN
|
||||||
pinMode(PIN_USER_BTN, INPUT_PULLUP);
|
pinMode(PIN_USER_BTN, INPUT_PULLUP);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(PIN_BOARD_SDA) && defined(PIN_BOARD_SCL)
|
#if defined(PIN_BOARD_SDA) && defined(PIN_BOARD_SCL)
|
||||||
Wire.setPins(PIN_BOARD_SDA, PIN_BOARD_SCL)
|
Wire.setPins(PIN_BOARD_SDA, PIN_BOARD_SCL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue