return bool when setting rx boost

This commit is contained in:
taco committed 2026-06-26 07:44:01 +10:00
1 parent e076cd4e3d
commit 1a90abdbe2
9 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -1062,8 +1062,8 @@ void MyMesh::setTxPower(int8_t power_dbm) {
radio_driver.setTxPower(power_dbm);
}
void MyMesh::setRxBoostedGain(bool enable) {
radio_driver.setRxBoostedGainMode(enable);
bool MyMesh::setRxBoostedGain(bool enable) {
return radio_driver.setRxBoostedGainMode(enable);
}
void MyMesh::formatNeighborsReply(char *reply) {
+1 -1
View File
@@ -252,6 +252,6 @@ public:
// To check if there is pending work
bool hasPendingWork() const;
void setRxBoostedGain(bool enable) override;
bool setRxBoostedGain(bool enable) override;
};