Commit 06520510 authored by Don Gagne's avatar Don Gagne

Merge pull request #3496 from DonLakeFlyer/UnusedCode

Remove unused code
parents 6de8d0ef 97b3307f
...@@ -588,13 +588,6 @@ void UAS::receiveMessage(mavlink_message_t message) ...@@ -588,13 +588,6 @@ void UAS::receiveMessage(mavlink_message_t message)
setSatelliteCount(pos.satellites_visible); setSatelliteCount(pos.satellites_visible);
} }
break; break;
case MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN:
{
mavlink_gps_global_origin_t pos;
mavlink_msg_gps_global_origin_decode(&message, &pos);
emit homePositionChanged(uasId, pos.latitude / 10000000.0, pos.longitude / 10000000.0, pos.altitude / 1000.0);
}
break;
case MAVLINK_MSG_ID_PARAM_VALUE: case MAVLINK_MSG_ID_PARAM_VALUE:
{ {
......
...@@ -303,9 +303,6 @@ signals: ...@@ -303,9 +303,6 @@ signals:
/** @brief Core specifications have changed */ /** @brief Core specifications have changed */
void systemSpecsChanged(int uasId); void systemSpecsChanged(int uasId);
// HOME POSITION / ORIGIN CHANGES
void homePositionChanged(int uas, double lat, double lon, double alt);
// Log Download Signals // Log Download Signals
void logEntry (UASInterface* uas, uint32_t time_utc, uint32_t size, uint16_t id, uint16_t num_logs, uint16_t last_log_num); void logEntry (UASInterface* uas, uint32_t time_utc, uint32_t size, uint16_t id, uint16_t num_logs, uint16_t last_log_num);
void logData (UASInterface* uas, uint32_t ofs, uint16_t id, uint8_t count, const uint8_t* data); void logData (UASInterface* uas, uint32_t ofs, uint16_t id, uint8_t count, const uint8_t* data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment