Apply saved TX power automatically across firmware roles
This commit is contained in:
1 parent
31e5d54074
commit
65928aae95
51 files changed
+3838
-2728
No files matched your search
+2
@@ -169,6 +169,7 @@ public:
|
||||
FakeTrigger* alert_tasks[4] = {&alert1, &alert2};
|
||||
int num_alert_tasks = 2;
|
||||
struct CLI {
|
||||
void servicePendingTxPower() {}
|
||||
bool batteryAllowsForward(bool) const { return true; }
|
||||
bool batteryAllowsTransmit(const mesh::Packet*) const { return true; }
|
||||
struct NoMorseReply { void complete(const void*) {} void fail(const void*) {} } morse;
|
||||
@@ -179,6 +180,7 @@ public:
|
||||
SensorMesh* owner = nullptr;
|
||||
void loop();
|
||||
bool hasActiveUserGpioTimer() const { return active; }
|
||||
bool hasPendingTxPower() const { return false; }
|
||||
} _cli;
|
||||
struct ClockSync { unsigned observed = 0, loops = 0;
|
||||
void loop() { ++loops; }
|
||||
|
||||
Reference in new issue
Block a user