mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-30 12:45:45 +00:00
Allow negative tx power
Like SX1262 allows -9 dBm lowest, some allow lower but that probably isn't useful
This commit is contained in:
committed by
Wessel Nieboer
parent
f7e92a7cd1
commit
d0720c63c2
@@ -815,7 +815,7 @@ void SensorMesh::updateFloodAdvertTimer() {
|
||||
}
|
||||
}
|
||||
|
||||
void SensorMesh::setTxPower(uint8_t power_dbm) {
|
||||
void SensorMesh::setTxPower(int8_t power_dbm) {
|
||||
radio_set_tx_power(power_dbm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user