fix scaling, hmsl is in mm now

This commit is contained in:
Gautier Hattenberger
2011-08-25 14:41:20 +02:00
parent 893a18846a
commit f2ece68b6c
@@ -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"