Increase timeout for DcDataValid to 5s ...

... was: 20ms x  50 = 1000ms = 1s
    new: 20ms x 250 = 5000ms = 5s
This commit is contained in:
Siegfried Siegert 2025-07-10 15:06:50 +02:00
parent d93b406040
commit b960638e91
Signed by untrusted user: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -164,7 +164,7 @@ char T_datif::datif_cycleSend()
// supervise if DC data are valid
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!
datif_nowNewDyns=0;