Skip to content

Commit

Permalink
Vehicle: move _doSetHomeTerrainReceived to private slots
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidsastresas committed Aug 24, 2023
1 parent 5f0be3d commit 509a421
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Vehicle/Vehicle.h
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,7 @@ private slots:
void _orbitTelemetryTimeout ();
void _updateFlightTime ();
void _gotProgressUpdate (float progressValue);
void _doSetHomeTerrainReceived (bool success, QList<double> heights);
void _updateAltAboveTerrain ();
void _altitudeAboveTerrainReceived (bool sucess, QList<double> heights);

Expand Down Expand Up @@ -1098,9 +1099,6 @@ private slots:

static void _rebootCommandResultHandler(void* resultHandlerData, int compId, MAV_RESULT commandResult, uint8_t progress, MavCmdResultFailureCode_t failureCode);

// This is called after we get terrain data triggered from a doSetHome()
void _doSetHomeTerrainReceived (bool success, QList<double> heights);

int _id; ///< Mavlink system id
int _defaultComponentId;
bool _offlineEditingVehicle = false; ///< true: This Vehicle is a "disconnected" vehicle for ui use while offline editing
Expand Down

0 comments on commit 509a421

Please sign in to comment.