variants: Nano G2 Ultra: Use common implementation of startOTAUpdate()

Signed-off-by: Frieder Schrempf <frieder@fris.de>
This commit is contained in:
Frieder Schrempf
2025-12-22 16:21:44 +01:00
parent 5b7f66712c
commit fa48d4fe81
2 changed files with 2 additions and 63 deletions

View File

@@ -35,11 +35,11 @@
#define PIN_VBAT_READ (0 + 2)
#define REAL_VBAT_MV_PER_LSB (VBAT_DIVIDER_COMP * VBAT_MV_PER_LSB)
class NanoG2Ultra : public NRF52Board {
class NanoG2Ultra : public NRF52BoardOTA {
public:
NanoG2Ultra() : NRF52BoardOTA("NANO_G2_OTA") {}
void begin();
uint16_t getBattMilliVolts() override;
bool startOTAUpdate(const char *id, char reply[]) override;
const char *getManufacturerName() const override { return "Nano G2 Ultra"; }