mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Re-add some of the prev removed export symbols in imu.h
This commit is contained in:
parent
15e24e2015
commit
a1599d0c18
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,13 @@
|
||||||
|
|
||||||
#include "sensors/acceleration.h"
|
#include "sensors/acceleration.h"
|
||||||
|
|
||||||
|
// Exported symbols
|
||||||
|
extern uint32_t accTimeSum;
|
||||||
|
extern int accSumCount;
|
||||||
|
extern float accVelScale;
|
||||||
|
extern int32_t accSum[XYZ_AXIS_COUNT];
|
||||||
|
|
||||||
|
|
||||||
#define DEGREES_TO_DECIDEGREES(angle) (angle * 10)
|
#define DEGREES_TO_DECIDEGREES(angle) (angle * 10)
|
||||||
#define DECIDEGREES_TO_DEGREES(angle) (angle / 10)
|
#define DECIDEGREES_TO_DEGREES(angle) (angle / 10)
|
||||||
#define DECIDEGREES_TO_RADIANS(angle) ((angle / 10.0f) * 0.0174532925f)
|
#define DECIDEGREES_TO_RADIANS(angle) ((angle / 10.0f) * 0.0174532925f)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue