diff --git a/components/zcan_module/zcan_basic_order_module.cpp b/components/zcan_module/zcan_basic_order_module.cpp index a703bc0..5deed0a 100644 --- a/components/zcan_module/zcan_basic_order_module.cpp +++ b/components/zcan_module/zcan_basic_order_module.cpp @@ -78,7 +78,7 @@ void ZCanBasicOrderModule::onRceivePacket(CanPacketRxBuffer* rxbuf, uint8_t* pac */ uint8_t id = cmdheader->data[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}; txbuff[0] = id;