mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-30 23:35:45 +00:00
The startOTAUpdate() is the same for all NRF52 boards. Use a common implementation for all boards that currently have a specific implementation. The following boards currently have an empty startOTAUpdate() for whatever reasons and therefore are not inheriting NRF52BoardOTA to keep the same state: Nano G2 Ultra, Seeed SenseCAP T1000-E, Wio WM1110. Signed-off-by: Frieder Schrempf <frieder@fris.de>
13 lines
213 B
C++
13 lines
213 B
C++
#include <Arduino.h>
|
|
#include <Wire.h>
|
|
|
|
#include "MeshPocket.h"
|
|
|
|
void HeltecMeshPocket::begin() {
|
|
NRF52Board::begin();
|
|
Serial.begin(115200);
|
|
pinMode(PIN_VBAT_READ, INPUT);
|
|
|
|
pinMode(PIN_USER_BTN, INPUT);
|
|
}
|