mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Updated trampCmsInitSettings
This commit is contained in:
parent
aef34a0a53
commit
7a1e9b4032
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ static void trampCmsInitSettings()
|
|||
trampCmsPitMode = trampPitMode + 1;
|
||||
|
||||
if (trampConfiguredPower > 0) {
|
||||
for (uint8_t i = 0; i < sizeof(trampPowerTable); i++) {
|
||||
for (uint8_t i = 0; i < VTX_TRAMP_POWER_COUNT; i++) {
|
||||
if (trampConfiguredPower <= trampPowerTable[i]) {
|
||||
trampCmsPower = i + 1;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue