Merge pull request #3508 from marcelverdult/fix/rak11310-attach-dynamic-prefs

Fix RAK11310 build: add no-op attachDynamicPrefs()
This commit is contained in:
Liam Cottle
2026-09-27 20:03:59 +13:00
committed by GitHub
+3
View File
@@ -2,6 +2,7 @@
#include <Arduino.h>
#include <MeshCore.h>
#include <helpers/KeyValueStore.h>
// from https://github.com/RAKWireless/RAK11300-AT-Command-Firmware/blob/9c48409a43620a828d653501d536473200aa33af/RAK11300-AT-Arduino/batt.cpp#L17-L19
#define VBAT_MV_PER_LSB (0.806F) // 3.0V ADC range and 12 - bit ADC resolution = 3300mV / 4096
@@ -46,4 +47,6 @@ public:
void reboot() override { rp2040.reboot(); }
bool startOTAUpdate(const char *id, char reply[]) override;
void attachDynamicPrefs(KeyValueStore* prefs) { } // no-op
};