allow txmode 0, show expected crc

This commit is contained in:
MichaelDvP
2026-05-25 11:12:07 +02:00
parent f5bc3e82bb
commit 88f75038e0
3 changed files with 4 additions and 3 deletions

View File

@@ -673,6 +673,7 @@ const ApplicationSettings = () => {
sx={{ width: '15ch' }}
select
>
<MenuItem value={0}>{LL.OFF()}</MenuItem>
<MenuItem value={1}>EMS</MenuItem>
<MenuItem value={2}>EMS+</MenuItem>
<MenuItem value={3}>HT3</MenuItem>

View File

@@ -161,9 +161,9 @@ void RxService::add(uint8_t * data, uint8_t length) {
}
if (data[0] != EMSuart::last_tx_src()) { // do not count echos as errors
telegram_error_count_++;
LOG_WARNING("Incomplete Rx: %s", Helpers::data_to_hex(data, length).c_str()); // include CRC
LOG_WARNING("Incomplete Rx: %s (crc: %02X)", Helpers::data_to_hex(data, length).c_str(), crc); // include CRC
} else {
LOG_TRACE("Incomplete Rx: %s", Helpers::data_to_hex(data, length).c_str()); // include CRC
LOG_TRACE("Incomplete Rx: %s (crc: %02X)", Helpers::data_to_hex(data, length).c_str(), crc); // include CRC
}
return;
}

View File

@@ -1 +1 @@
#define EMSESP_APP_VERSION "3.8.3-dev.3"
#define EMSESP_APP_VERSION "3.8.3-dev.4"