variants: Wio WM1110: Use common implementation of startOTAUpdate()
Signed-off-by: Frieder Schrempf <frieder@fris.de>
This commit is contained in:
@@ -11,8 +11,9 @@
|
||||
#endif
|
||||
#define Serial Serial1
|
||||
|
||||
class WioWM1110Board : public NRF52BoardDCDC {
|
||||
class WioWM1110Board : public NRF52BoardDCDC, public NRF52BoardOTA {
|
||||
public:
|
||||
WioWM1110Board() : NRF52BoardOTA("WM1110_OTA") {}
|
||||
void begin();
|
||||
|
||||
#if defined(LED_GREEN)
|
||||
@@ -37,8 +38,6 @@ public:
|
||||
return "Seeed Wio WM1110";
|
||||
}
|
||||
|
||||
bool startOTAUpdate(const char* id, char reply[]) override;
|
||||
|
||||
void enableSensorPower(bool enable) {
|
||||
digitalWrite(SENSOR_POWER_PIN, enable ? HIGH : LOW);
|
||||
if (enable) {
|
||||
|
||||
Reference in New Issue
Block a user