Add setRxBoostedGain method declaration and implementation for SX1262/SX1268

This commit is contained in:
João Brázio
2026-03-05 18:48:40 +00:00
parent 9a95e25ef2
commit 3e7fb4add1
2 changed files with 7 additions and 3 deletions
+6
View File
@@ -1005,6 +1005,12 @@ void MyMesh::setTxPower(int8_t power_dbm) {
radio_set_tx_power(power_dbm);
}
#if defined(USE_SX1262) || defined(USE_SX1268)
void MyMesh::setRxBoostedGain(bool enable) {
radio_driver.setRxBoostedGainMode(enable);
}
#endif
void MyMesh::formatNeighborsReply(char *reply) {
char *dp = reply;
+1 -3
View File
@@ -241,8 +241,6 @@ public:
bool hasPendingWork() const;
#if defined(USE_SX1262) || defined(USE_SX1268)
void setRxBoostedGain(bool enable) override {
radio_set_rx_boosted_gain_mode(enable);
}
void setRxBoostedGain(bool enable) override;
#endif
};