[state] fix conversion error for LLA_F

This commit is contained in:
Gautier Hattenberger
2026-04-03 15:00:42 +02:00
parent 41b5c7ef82
commit 850ebab9f7
+1 -1
View File
@@ -727,7 +727,7 @@ void stateCalcPositionLla_f(void)
int errno = 0;
if (bit_is_set(state.pos_status, POS_LLA_I)) {
LLA_FLOAT_OF_BFP(state.lla_pos_f, state.lla_pos_f);
LLA_FLOAT_OF_BFP(state.lla_pos_f, state.lla_pos_i);
} else if (bit_is_set(state.pos_status, POS_ECEF_F)) {
lla_of_ecef_f(&state.lla_pos_f, &state.ecef_pos_f);
} else if (bit_is_set(state.pos_status, POS_ECEF_I)) {