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