mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Removed a number of static config pointers
This commit is contained in:
parent
80700c2158
commit
f6c8319361
23 changed files with 81 additions and 113 deletions
|
@ -32,11 +32,6 @@ 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)
|
||||
#define DEGREES_TO_RADIANS(angle) ((angle) * 0.0174532925f)
|
||||
|
||||
typedef union {
|
||||
int16_t raw[XYZ_AXIS_COUNT];
|
||||
struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue