- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
if (fFisWaitAccept)
{
if (++countB > 2)
{
countB = 0;
TRACE("ERROR TIMER B\n");
Reinit_ATS_Connection();
fFisWaitAccept = false;
set_timer_b(tmB);
return;
}
}
else
countB = 0;
SendFrameToATS(buf, 4); //visilaem neskolko raz
SendFrameToATS(buf, 4); //FW dlia bolshej uverennosti
SendFrameToATS(buf, 4); //ibo esli etot paket nedojdiot sviazi pizdec
fFisWaitAccept = true;
set_timer_b(tmB);