Procházet zdrojové kódy

Match GPS height step with upstream

Xi Ruoyao před 5 roky
rodič
revize
3bedf0f6ef
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      main.cc

+ 1 - 1
main.cc

@@ -158,7 +158,7 @@ static void parse_and_record_flight_data(const char *buf, size_t sz)
 				current.ils_height = height;
 			break;
 		case 0x87:
-			height = load<int32_t>(&buf[168]) * 0.1;
+			height = load<int32_t>(&buf[168]) * 0.01;
 			if (height >= -300 && height <= 100000)
 				current.gps_height = height;
 			break;