mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
remove unnecessary var, inline accsum_reset, lrintf , rename smallAngle
This commit is contained in:
parent
cd08d6d782
commit
6330456296
3 changed files with 25 additions and 37 deletions
|
@ -172,7 +172,7 @@ int main(void)
|
|||
calibratingA = CALIBRATING_ACC_CYCLES;
|
||||
calibratingG = CALIBRATING_GYRO_CYCLES;
|
||||
calibratingB = CALIBRATING_BARO_CYCLES; // 10 seconds init_delay + 200 * 25 ms = 15 seconds before ground pressure settles
|
||||
f.SMALL_ANGLES_25 = 1;
|
||||
f.SMALL_ANGLE = 1;
|
||||
|
||||
// loopy
|
||||
while (1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue