Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix E1 and F1 init RF coef #181

Merged
merged 1 commit into from
Dec 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix E1 and F1 init RF coef
ligenxxxx committed Dec 5, 2023
commit 71b7b66e1e09c3c2b84e616e147de2916289e002
8 changes: 5 additions & 3 deletions src/hardware.c
Original file line number Diff line number Diff line change
@@ -356,10 +356,12 @@ void GetVtxParameter() {
}
}

// fatshark band
// E/F band
for (j = 0; j <= POWER_MAX; j++) {
tab[8][j] = tab[3][j];
tab[9][j] = tab[4][j];
tab[8][j] = tab[0][j]; // E1 <- R1
tab[9][j] = tab[2][j]; // F1 <- R3
tab[10][j] = tab[3][j]; // F2 <- R4
tab[11][j] = tab[4][j]; // F4 <- R5
}

// low band