Clean up "else" and other spacing
This commit is contained in:
parent
9b23490f01
commit
9bdab4f3a8
12 changed files with 115 additions and 68 deletions
|
|
@ -511,7 +511,8 @@ float get_pid_output(int e) {
|
|||
if (e_position > last_position[e]) {
|
||||
lpq[lpq_ptr++] = e_position - last_position[e];
|
||||
last_position[e] = e_position;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
lpq[lpq_ptr++] = 0;
|
||||
}
|
||||
if (lpq_ptr >= lpq_len) lpq_ptr = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue