1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Re-add some of the prev removed export symbols in imu.h

This commit is contained in:
Anders Hoglund 2016-10-02 14:04:28 +02:00
parent 15e24e2015
commit a1599d0c18

View file

@ -22,6 +22,13 @@
#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 DECIDEGREES_TO_DEGREES(angle) (angle / 10)
#define DECIDEGREES_TO_RADIANS(angle) ((angle / 10.0f) * 0.0174532925f)