variants: Wio WM1110: Use common implementation of startOTAUpdate()

Signed-off-by: Frieder Schrempf <frieder@fris.de>
This commit is contained in:
Frieder Schrempf
2025-12-22 16:22:54 +01:00
parent fa48d4fe81
commit 57fa1ba854
2 changed files with 4 additions and 46 deletions

View File

@@ -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) {