Don't show TPMS Manchester errors on LCD, truncate data to not wrap.

This commit is contained in:
Jared Boone 2015-11-11 11:22:31 -08:00
parent 19f352fa13
commit 8e4e33f74e

View File

@ -562,8 +562,7 @@ void ReceiverView::on_packet_tpms(const TPMSPacketMessage& message) {
}
auto console = reinterpret_cast<Console*>(widget_content.get());
console->writeln(hex_data);
console->writeln(hex_error);
console->writeln(hex_data.substr(0, 240 / 8));
if( !f_error(&fil_tpms) ) {
rtc::RTC datetime;