Browse Source

GCS_MAVLink: removed unused variable

master
Andrew Tridgell 11 years ago
parent
commit
2ce1b14cbb
  1. 1
      libraries/GCS_MAVLink/GCS_Logs.cpp

1
libraries/GCS_MAVLink/GCS_Logs.cpp

@ -181,7 +181,6 @@ void GCS_MAVLINK::handle_log_send_listing(DataFlash_Class &dataflash) @@ -181,7 +181,6 @@ void GCS_MAVLINK::handle_log_send_listing(DataFlash_Class &dataflash)
*/
bool GCS_MAVLINK::handle_log_send_data(DataFlash_Class &dataflash)
{
uint32_t start = hal.scheduler->micros();
int16_t payload_space = comm_get_txspace(chan) - MAVLINK_NUM_NON_PAYLOAD_BYTES;
if (payload_space < MAVLINK_MSG_ID_LOG_DATA_LEN) {
// no space

Loading…
Cancel
Save