Browse Source

Rover: remove unneeded telemetry_delayed parameter

mission-4.1.18
Peter Barker 8 years ago committed by Francisco Ferreira
parent
commit
adb89c5ca6
  1. 2
      APMrover2/GCS_Mavlink.cpp
  2. 1
      APMrover2/Rover.h

2
APMrover2/GCS_Mavlink.cpp

@ -292,7 +292,7 @@ uint32_t GCS_MAVLINK_Rover::telem_delay() const @@ -292,7 +292,7 @@ uint32_t GCS_MAVLINK_Rover::telem_delay() const
// try to send a message, return false if it won't fit in the serial tx buffer
bool GCS_MAVLINK_Rover::try_send_message(enum ap_message id)
{
if (telemetry_delayed(chan)) {
if (telemetry_delayed()) {
return false;
}

1
APMrover2/Rover.h

@ -450,7 +450,6 @@ private: @@ -450,7 +450,6 @@ private:
void send_pid_tuning(mavlink_channel_t chan);
void send_rangefinder(mavlink_channel_t chan);
void send_current_waypoint(mavlink_channel_t chan);
bool telemetry_delayed(mavlink_channel_t chan);
void gcs_data_stream_send(void);
void gcs_update(void);
void gcs_retry_deferred(void);

Loading…
Cancel
Save