mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Fixup after rebase
This commit is contained in:
parent
137b323577
commit
2d8d03e507
2 changed files with 3 additions and 3 deletions
|
@ -625,7 +625,7 @@ static bool detectSonar(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void reconfigureAlignment(sensorAlignmentConfig_t *sensorAlignmentConfig)
|
static void reconfigureAlignment(const sensorAlignmentConfig_t *sensorAlignmentConfig)
|
||||||
{
|
{
|
||||||
if (sensorAlignmentConfig->gyro_align != ALIGN_DEFAULT) {
|
if (sensorAlignmentConfig->gyro_align != ALIGN_DEFAULT) {
|
||||||
gyroAlign = sensorAlignmentConfig->gyro_align;
|
gyroAlign = sensorAlignmentConfig->gyro_align;
|
||||||
|
@ -639,7 +639,7 @@ void reconfigureAlignment(sensorAlignmentConfig_t *sensorAlignmentConfig)
|
||||||
}
|
}
|
||||||
|
|
||||||
bool sensorsAutodetect(const sensorAlignmentConfig_t *sensorAlignmentConfig,
|
bool sensorsAutodetect(const sensorAlignmentConfig_t *sensorAlignmentConfig,
|
||||||
sensorSelectionConfig_t *sensorSelectionConfig,
|
const sensorSelectionConfig_t *sensorSelectionConfig,
|
||||||
int16_t magDeclinationFromConfig,
|
int16_t magDeclinationFromConfig,
|
||||||
const gyroConfig_t *gyroConfig,
|
const gyroConfig_t *gyroConfig,
|
||||||
const sonarConfig_t *sonarConfig)
|
const sonarConfig_t *sonarConfig)
|
||||||
|
|
|
@ -21,7 +21,7 @@ struct sensorAlignmentConfig_s;
|
||||||
struct sensorSelectionConfig_s;
|
struct sensorSelectionConfig_s;
|
||||||
struct gyroConfig_s;
|
struct gyroConfig_s;
|
||||||
struct sonarConfig_s;
|
struct sonarConfig_s;
|
||||||
bool sensorsAutodetect(const sensorAlignmentConfig_s *sensorAlignmentConfig,
|
bool sensorsAutodetect(const struct sensorAlignmentConfig_s *sensorAlignmentConfig,
|
||||||
const struct sensorSelectionConfig_s *sensorSelectionConfig,
|
const struct sensorSelectionConfig_s *sensorSelectionConfig,
|
||||||
int16_t magDeclinationFromConfig,
|
int16_t magDeclinationFromConfig,
|
||||||
const struct gyroConfig_s *gyroConfig,
|
const struct gyroConfig_s *gyroConfig,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue