[ahrs] fix name of the setting handler to match the XML description (#3446)

This commit is contained in:
Gautier Hattenberger
2025-04-01 12:48:52 +02:00
committed by GitHub
parent a7af05cc2f
commit 56a0f850e6
2 changed files with 4 additions and 4 deletions
@@ -261,9 +261,9 @@ void ahrs_fc_wrapper_init(void)
{
ahrs_fc_init();
if (AHRS_FC_TYPE == AHRS_PRIMARY) {
ahrs_float_cmp_quat_wrapper_enable(1);
ahrs_float_cmpl_wrapper_enable(1);
} else {
ahrs_float_cmp_quat_wrapper_enable(0);
ahrs_float_cmpl_wrapper_enable(0);
}
/*
@@ -285,7 +285,7 @@ void ahrs_fc_wrapper_init(void)
#endif
}
void ahrs_float_cmp_quat_wrapper_enable(uint8_t enable)
void ahrs_float_cmpl_wrapper_enable(uint8_t enable)
{
if (enable) {
stateSetInputFilter(STATE_INPUT_ATTITUDE, MODULE_AHRS_FLOAT_CMPL_ID);
@@ -33,6 +33,6 @@ extern void ahrs_fc_wrapper_init(void);
// enable setting
extern uint8_t ahrs_fc_enable;
extern void ahrs_float_cmp_quat_wrapper_enable(uint8_t enable);
extern void ahrs_float_cmpl_wrapper_enable(uint8_t enable);
#endif /* AHRS_FLOAT_CMPL_WRAPPER_H */