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