/trunk/uart.c |
---|
628,7 → 628,7 |
PcZugriff = 255; |
break; |
case 'b': |
if(AnzahlEmpfangsBytes < 20) // prevents that the old frame is guilty |
if(AnzahlEmpfangsBytes < 20) // prevents that the old frame is valid |
{ |
memcpy((unsigned char *)&ExternalControl, (unsigned char *)pRxData, sizeof(ExternalControl)); |
ConfirmFrame = ExternalControl.Frame; |