mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 00:53:41 +08:00
fix scaling, hmsl is in mm now
This commit is contained in:
@@ -280,7 +280,7 @@ void nav_periodic_task() {
|
||||
/* run carrot loop */
|
||||
nav_run();
|
||||
|
||||
ground_alt = POS_BFP_OF_REAL((float)ins_ltp_def.hmsl / 100.);
|
||||
ground_alt = POS_BFP_OF_REAL((float)ins_ltp_def.hmsl / 1000.);
|
||||
}
|
||||
|
||||
#include "downlink.h"
|
||||
|
||||
Reference in New Issue
Block a user