Fix default channel index

it should be 0 instead of 1
This commit is contained in:
marco 2023-05-24 22:46:09 +02:00 committed by silseva
parent 5f77298218
commit 7ce72d8325
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ void state_init()
state.charge = battery_getCharge(state.v_bat);
state.rssi = -127.0f;
state.channel_index = 1; // Set default channel index (it is 1-based)
state.channel_index = 0; // Set default channel index (it is 0-based)
state.bank_enabled = false;
state.rtxStatus = RTX_OFF;
state.emergency = false;