revert settings for txmode off and 0x0d without ack

This commit is contained in:
MichaelDvP
2026-05-27 10:49:29 +02:00
parent 6dc8072106
commit 66b1b1cb24
2 changed files with 2 additions and 2 deletions

View File

@@ -673,7 +673,6 @@ 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

@@ -276,7 +276,8 @@ void TxService::start() {
// sends a 1 byte poll which is our own deviceID
void TxService::send_poll() const {
// LOG_DEBUG("Ack %02X",ems_bus_id() ^ ems_mask());
if (tx_mode() != EMS_TXMODE_OFF && ems_bus_id() != 0x0D) {
// if (tx_mode() != EMS_TXMODE_OFF && ems_bus_id() != 0x0D) { // use 0x0D for tests without poll-Ack
if (tx_mode() != EMS_TXMODE_OFF) {
EMSuart::send_poll(ems_bus_id() ^ ems_mask());
}
}