Rev 2015 | Rev 2018 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2015 | Rev 2017 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | uint8_t channels[MAX_CHANNELS]; |
59 | uint8_t channels[MAX_CHANNELS]; |
60 | } channelMap_t; |
60 | } channelMap_t; |
61 | extern channelMap_t channelMap; |
61 | extern channelMap_t channelMap; |
Line 62... | Line 62... | ||
62 | 62 | ||
63 | typedef struct { |
63 | typedef struct { |
64 | int8_t name[12]; |
64 | char name[12]; |
65 | int8_t motor[MAX_MOTORS][4]; |
65 | int8_t motor[MAX_MOTORS][4]; |
66 | }__attribute__((packed)) mixerMatrix_t; |
66 | }__attribute__((packed)) mixerMatrix_t; |
Line 67... | Line 67... | ||
67 | extern mixerMatrix_t mixerMatrix; |
67 | extern mixerMatrix_t mixerMatrix; |
Line 111... | Line 111... | ||
111 | uint8_t maxAccVector; |
111 | uint8_t maxAccVector; |
112 | uint8_t maxControlActivity; |
112 | uint8_t maxControlActivity; |
113 | uint8_t motorSmoothing; |
113 | uint8_t motorSmoothing; |
Line 114... | Line 114... | ||
114 | 114 | ||
115 | // IMU |
- | |
116 | // IMU stuff |
115 | // IMU |
117 | uint8_t gyroQuadrant; |
116 | uint8_t gyroQuadrant; |
118 | uint8_t accQuadrant; |
117 | uint8_t accQuadrant; |
Line 119... | Line 118... | ||
119 | uint8_t imuReversedFlags; |
118 | uint8_t imuReversedFlags; |
Line 158... | Line 157... | ||
158 | 157 | ||
159 | // User params |
158 | // User params |
Line 160... | Line 159... | ||
160 | uint8_t userParams[8]; // Value : 0-250 |
159 | uint8_t userParams[8]; // Value : 0-250 |
161 | 160 | ||
162 | // Name |
161 | // Name |
163 | uint8_t name[12]; |
162 | char name[12]; |
Line 164... | Line 163... | ||
164 | } paramset_t; |
163 | } paramset_t; |
165 | extern paramset_t staticParams; |
164 | extern paramset_t staticParams; |