mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
fixing some typos and inconsistencies in cli/set variable naming.
This commit is contained in:
parent
b07ca4b4a1
commit
5a05de5da7
6 changed files with 236 additions and 236 deletions
4
src/mw.c
4
src/mw.c
|
@ -99,11 +99,11 @@ void annexCode(void)
|
|||
int i;
|
||||
|
||||
// PITCH & ROLL only dynamic PID adjustemnt, depending on throttle value
|
||||
if (rcData[THROTTLE] < cfg.tpaBreakPoint) {
|
||||
if (rcData[THROTTLE] < cfg.tpa_breakpoint) {
|
||||
prop2 = 100;
|
||||
} else {
|
||||
if (rcData[THROTTLE] < 2000) {
|
||||
prop2 = 100 - (uint16_t)cfg.dynThrPID * (rcData[THROTTLE] - cfg.tpaBreakPoint) / (2000 - cfg.tpaBreakPoint);
|
||||
prop2 = 100 - (uint16_t)cfg.dynThrPID * (rcData[THROTTLE] - cfg.tpa_breakpoint) / (2000 - cfg.tpa_breakpoint);
|
||||
} else {
|
||||
prop2 = 100 - cfg.dynThrPID;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue