|
@ -34,7 +34,6 @@ |
|
|
uint32_t errorcode = 0; \ |
|
|
uint32_t errorcode = 0; \ |
|
|
if (cmd->id == varid) { |
|
|
if (cmd->id == varid) { |
|
|
#define PROCESS_REPORT(type) \
|
|
|
#define PROCESS_REPORT(type) \
|
|
|
zlock_guard l(m_lock); \ |
|
|
|
|
|
auto* report = (type##_report_t*)m_txbuf; \ |
|
|
auto* report = (type##_report_t*)m_txbuf; \ |
|
|
static_assert(sizeof(*report) < sizeof(m_txbuf), "report size too large"); \ |
|
|
static_assert(sizeof(*report) < sizeof(m_txbuf), "report size too large"); \ |
|
|
ZLOGI(TAG, #type " exec_status:%d", status); \ |
|
|
ZLOGI(TAG, #type " exec_status:%d", status); \ |
|
|