mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Revert Tramp power max check when setting power (#8907)
Revert Tramp power max check when setting power
This commit is contained in:
commit
bcc699df87
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ static void vtxTrampSetBandAndChannel(vtxDevice_t *vtxDevice, uint8_t band, uint
|
||||||
static void vtxTrampSetPowerByIndex(vtxDevice_t *vtxDevice, uint8_t index)
|
static void vtxTrampSetPowerByIndex(vtxDevice_t *vtxDevice, uint8_t index)
|
||||||
{
|
{
|
||||||
uint16_t powerValue = 0;
|
uint16_t powerValue = 0;
|
||||||
if (vtxCommonLookupPowerValue(vtxDevice, index, &powerValue) && (trampRFPowerMax == 0 || powerValue <= trampRFPowerMax)) {
|
if (vtxCommonLookupPowerValue(vtxDevice, index, &powerValue)) {
|
||||||
trampSetRFPower(powerValue);
|
trampSetRFPower(powerValue);
|
||||||
trampCommitChanges();
|
trampCommitChanges();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue