mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 04:00:35 +08:00
Apply Google Style to Commander Private methods, rename geofence message geofence_violation to primary_geofence_breached.
This commit is contained in:
@@ -335,7 +335,7 @@ private:
|
||||
geofence_result_s geofence;
|
||||
|
||||
if (_geofence_sub.update(&geofence)) {
|
||||
if (geofence.geofence_violated) {
|
||||
if (geofence.primary_geofence_breached) {
|
||||
msg->failure_flags |= HL_FAILURE_FLAG_GEOFENCE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user