mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Merge pull request #1606 from martinbudden/bf_gyro_isr
Gyro initialisation refactoring
This commit is contained in:
commit
fd5710051e
28 changed files with 136 additions and 124 deletions
|
@ -612,7 +612,7 @@ static bool mspFcProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, mspPostProcessFn
|
|||
sbufWriteU16(dst, accSmooth[i] / scale);
|
||||
}
|
||||
for (int i = 0; i < 3; i++) {
|
||||
sbufWriteU16(dst, gyroADC[i]);
|
||||
sbufWriteU16(dst, lrintf(gyroADCf[i] / gyro.scale));
|
||||
}
|
||||
for (int i = 0; i < 3; i++) {
|
||||
sbufWriteU16(dst, magADC[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue