GCS_MAVLink: removed unused variable

This commit is contained in:
Andrew Tridgell 2013-12-29 18:37:26 +11:00
parent 828eed1984
commit 2ce1b14cbb

View File

@ -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