Increase timeout for DcDataValid to 5s ...
... was: 20ms x 50 = 1000ms = 1s new: 20ms x 250 = 5000ms = 5s
This commit is contained in:
parent
d93b406040
commit
b960638e91
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user