mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-10 18:18:52 +08:00
fix implicit conversion
This commit is contained in:
@@ -745,8 +745,8 @@ MissionBlock::setLoiterItemFromCurrentPositionWithBraking(struct mission_item_s
|
||||
item->yaw = NAN;
|
||||
|
||||
} else {
|
||||
item->lat = NAN;
|
||||
item->lon = NAN;
|
||||
item->lat = (double)NAN;
|
||||
item->lon = (double)NAN;
|
||||
item->altitude = NAN;
|
||||
item->loiter_radius = NAN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user