AP_FrSky_Telem: cleanup, non-functional change

This commit is contained in:
Tom Pittenger 2016-09-26 13:12:42 -07:00
parent fcfaa98bb6
commit 99d48d8bbd

View File

@ -423,7 +423,8 @@ bool AP_Frsky_Telem::get_next_msg_chunk(void)
{
if (_statustext_queue.empty()) {
return false;
} else {
}
if (_msg_chunk.repeats == 0) {
_msg_chunk.chunk = 0;
uint8_t character = _statustext_queue[0]->text[_msg_chunk.char_index++];
@ -457,7 +458,6 @@ bool AP_Frsky_Telem::get_next_msg_chunk(void)
_statustext_queue.remove(0);
}
}
}
return true;
}