Browse Source

paint_robot_new v1.0【调通打标】PV接收

master
Lizongdi 11 hours ago
parent
commit
8f3aed12f8
  1. 2
      project/paint_robot_new/paint_robot_new.c

2
project/paint_robot_new/paint_robot_new.c

@ -156,7 +156,7 @@ int check_PV(char *_pBuffer, uint32_t _iSize)
uint16_t crc_check1 = Rd_modbusCRC16((uint8_t *)_pBuffer, _iSize - 2);
if (crc_check == crc_check1)
{
return _iSize - 2;
return _iSize;
}
else
{

Loading…
Cancel
Save