|
@ -78,7 +78,7 @@ void ZCanBasicOrderModule::onRceivePacket(CanPacketRxBuffer* rxbuf, uint8_t* pac |
|
|
*/ |
|
|
*/ |
|
|
uint8_t id = cmdheader->data[0]; |
|
|
uint8_t id = cmdheader->data[0]; |
|
|
int32_t val = 0; |
|
|
int32_t val = 0; |
|
|
if (m_readfn && m_readadcval(id, val)) { |
|
|
|
|
|
|
|
|
if (m_readadcval && m_readadcval(id, val)) { |
|
|
//
|
|
|
//
|
|
|
uint8_t txbuff[2 + 4] = {0}; |
|
|
uint8_t txbuff[2 + 4] = {0}; |
|
|
txbuff[0] = id; |
|
|
txbuff[0] = id; |
|
|