Validate beacon power without stranding saved settings

This commit is contained in:
mikecarper committed 2026-10-16 00:39:07 -07:00
1 parent adbeb2d007
commit d5cc73c43d
15 files changed
+662 -7

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ public:
bool valid = true, meshtext = true;
RadioProfiles profiles;
bool validateProfile(const RadioProfileParams& p) const { return valid && RadioProfiles::valid(p); }
bool validateBeaconPower(float, int8_t power) const { return power >= -9 && power <= 22; }
bool supportsMeshtext() const { return meshtext; }
};
class TestClock {