Browse Source

update

master
zhaohe 2 years ago
parent
commit
1a22209b18
  1. 5
      zcancmder_protocol_basic.hpp

5
zcancmder_protocol_basic.hpp

@ -32,8 +32,7 @@
static_assert(sizeof(*ack) < sizeof(m_txbuf), "ack size too large"); \
auto __attribute__((unused)) cmdheader = rxcmd->get_cmdheader(); \
uint32_t errorcode = 0; \
if (cmd->id == varid) { \
if (cmd->id == varid) {
#define PROCESS_REPORT(type) \
zlock_guard l(m_lock); \
auto* report = (type##_report_t*)m_txbuf; \
@ -83,3 +82,5 @@ typedef enum {
} // namespace zcr
} // namespace iflytop
#define ZCAN_CMD_PUBLIC_DEVICE_ID_STEP_MOTOR_BOARD_OFFEST 200
Loading…
Cancel
Save