mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-01 02:11:57 +00:00
Fix RAK11310 build: add no-op attachDynamicPrefs()
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <MeshCore.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
|
// 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
|
#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(); }
|
void reboot() override { rp2040.reboot(); }
|
||||||
|
|
||||||
bool startOTAUpdate(const char *id, char reply[]) override;
|
bool startOTAUpdate(const char *id, char reply[]) override;
|
||||||
|
|
||||||
|
void attachDynamicPrefs(KeyValueStore* prefs) { } // no-op
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user