remove guard on MyMesh::setRxBoostedGain()
This commit is contained in:
1 parent
02e48b2eb6
commit
e076cd4e3d
2 files changed
+1
-4
No files matched your search
@@ -1062,11 +1062,9 @@ void MyMesh::setTxPower(int8_t power_dbm) {
|
|||||||
radio_driver.setTxPower(power_dbm);
|
radio_driver.setTxPower(power_dbm);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(USE_SX1262) || defined(USE_SX1268)
|
|
||||||
void MyMesh::setRxBoostedGain(bool enable) {
|
void MyMesh::setRxBoostedGain(bool enable) {
|
||||||
radio_driver.setRxBoostedGainMode(enable);
|
radio_driver.setRxBoostedGainMode(enable);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
void MyMesh::formatNeighborsReply(char *reply) {
|
void MyMesh::formatNeighborsReply(char *reply) {
|
||||||
char *dp = reply;
|
char *dp = reply;
|
||||||
|
|||||||
@@ -252,7 +252,6 @@ public:
|
|||||||
// To check if there is pending work
|
// To check if there is pending work
|
||||||
bool hasPendingWork() const;
|
bool hasPendingWork() const;
|
||||||
|
|
||||||
#if defined(USE_SX1262) || defined(USE_SX1268)
|
|
||||||
void setRxBoostedGain(bool enable) override;
|
void setRxBoostedGain(bool enable) override;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user