Revert Tramp power max check when setting power (#8907)
Revert Tramp power max check when setting power
This commit is contained in:
commit
bcc699df87
|
@ -521,7 +521,7 @@ static void vtxTrampSetBandAndChannel(vtxDevice_t *vtxDevice, uint8_t band, uint
|
|||
static void vtxTrampSetPowerByIndex(vtxDevice_t *vtxDevice, uint8_t index)
|
||||
{
|
||||
uint16_t powerValue = 0;
|
||||
if (vtxCommonLookupPowerValue(vtxDevice, index, &powerValue) && (trampRFPowerMax == 0 || powerValue <= trampRFPowerMax)) {
|
||||
if (vtxCommonLookupPowerValue(vtxDevice, index, &powerValue)) {
|
||||
trampSetRFPower(powerValue);
|
||||
trampCommitChanges();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue