mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-28 21:56:38 +00:00
remove guard on MyMesh::setRxBoostedGain()
This commit is contained in:
@@ -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