mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
fix implicit conversion
This commit is contained in:
parent
de997f93c2
commit
347d4e0c1b
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user