return bool when setting rx boost

This commit is contained in:
taco
2026-06-26 07:44:01 +10:00
parent 5d0ff7fe6e
commit 1f9bb67400
9 changed files with 15 additions and 15 deletions
+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;
};