mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: correct compilation when terrain is enabled
This commit is contained in:
parent
257152aa55
commit
4e002b84c5
@ -71,7 +71,7 @@ void GCS_Sub::update_vehicle_sensor_status_flags()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
||||||
switch (terrain.status()) {
|
switch (sub.terrain.status()) {
|
||||||
case AP_Terrain::TerrainStatusDisabled:
|
case AP_Terrain::TerrainStatusDisabled:
|
||||||
break;
|
break;
|
||||||
case AP_Terrain::TerrainStatusUnhealthy:
|
case AP_Terrain::TerrainStatusUnhealthy:
|
||||||
|
Loading…
Reference in New Issue
Block a user