mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Fixed point math Implementation instead of floats
This commit is contained in:
parent
5435fd0cb7
commit
7fd88f060d
8 changed files with 82 additions and 37 deletions
|
@ -646,8 +646,8 @@ void taskMainPidLoop(void)
|
|||
// Calculate average cycle time and average jitter
|
||||
filteredCycleTime = filterApplyPt1(cycleTime, &filteredCycleTimeState, 0.5f, dT);
|
||||
|
||||
debug[0] = cycleTime;
|
||||
debug[1] = cycleTime - filteredCycleTime;
|
||||
//debug[0] = cycleTime;
|
||||
//debug[1] = cycleTime - filteredCycleTime;
|
||||
|
||||
imuUpdateGyroAndAttitude();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue