Remove NRF52BoardOTA class and integrate it into NRF52Board
As all NRF52 boards now have OTA support, let's remove the subclass and integrate it into the base class. Signed-off-by: Frieder Schrempf <frieder@fris.de>
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
#define PIN_VBAT_READ 5
|
||||
#define ADC_MULTIPLIER (3 * 1.73 * 1.187 * 1000)
|
||||
|
||||
class RAK4631Board : public NRF52BoardDCDC, public NRF52BoardOTA {
|
||||
class RAK4631Board : public NRF52BoardDCDC {
|
||||
public:
|
||||
RAK4631Board() : NRF52BoardOTA("RAK4631_OTA") {}
|
||||
RAK4631Board() : NRF52Board("RAK4631_OTA") {}
|
||||
void begin();
|
||||
|
||||
#define BATTERY_SAMPLES 8
|
||||
|
||||
Reference in New Issue
Block a user