Compare commits

..

1 Commits

Author SHA1 Message Date
b960638e91
Increase timeout for DcDataValid to 5s ...
... was: 20ms x  50 = 1000ms = 1s
    new: 20ms x 250 = 5000ms = 5s
2025-07-10 15:12:48 +02:00

View File

@ -164,7 +164,7 @@ char T_datif::datif_cycleSend()
// supervise if DC data are valid // supervise if DC data are valid
datif_noResponseCtr++; // inc every 20ms datif_noResponseCtr++; // inc every 20ms
if (datif_noResponseCtr>50) // no life sign from device controller (DC) for about a sec if (datif_noResponseCtr>250) // no life sign from device controller (DC) for about 20ms x 250 = 5000ms = 5s
{ {
epi_resetDcDataValid(3); // DC data has not updated for >=5s -> no longer valid! epi_resetDcDataValid(3); // DC data has not updated for >=5s -> no longer valid!
datif_nowNewDyns=0; datif_nowNewDyns=0;