mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Added gyro, compass, acc, and baro config macros
This commit is contained in:
parent
a9280d732a
commit
3ec46f1bd2
9 changed files with 96 additions and 90 deletions
|
@ -424,7 +424,7 @@ void init(void)
|
|||
#endif
|
||||
if (!sensorsAutodetect(&masterConfig.sensorAlignmentConfig,
|
||||
&masterConfig.sensorSelectionConfig,
|
||||
masterConfig.compassConfig.mag_declination,
|
||||
compassConfig()->mag_declination,
|
||||
&masterConfig.gyroConfig,
|
||||
sonarConfig)) {
|
||||
// if gyro was not detected due to whatever reason, we give up now.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue