mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 19:47:50 +08:00
[state] fix conversion error for LLA_F
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user