Improve power settings

This commit is contained in:
Armel FAUVEAU
2024-07-16 03:20:51 +02:00
parent 88ef0d9925
commit 697bcb4a2e
12 changed files with 150 additions and 155 deletions

View File

@@ -121,7 +121,7 @@ static_assert(ARRAY_SIZE(action_opt_table) == ACTION_OPT_LEN);
void ACTION_Power(void)
{
if (++gTxVfo->OUTPUT_POWER > OUTPUT_POWER_HIGH)
gTxVfo->OUTPUT_POWER = OUTPUT_POWER_LOW;
gTxVfo->OUTPUT_POWER = OUTPUT_POWER_LOW1;
gRequestSaveChannel = 1;