diff --git a/inc/comm_protocol.h b/inc/comm_protocol.h index dde1e9f..3d3643d 100644 --- a/inc/comm_protocol.h +++ b/inc/comm_protocol.h @@ -233,10 +233,3 @@ void comm_protocol_send_cop(uint8_t flags, int16_t cop_x, int16_t cop_y, int16_t * @param data 8 字节响应数据。 */ void comm_protocol_send_cal_resp(uint8_t status, uint8_t subcmd, const uint8_t data[8]); - -/** - * @brief 获取下行消息队列指针,业务层通过 k_msgq_get() 消费。 - * - * @return 指向内部 msgq 的指针。 - */ -struct k_msgq *comm_protocol_get_msgq(void); diff --git a/src/comm_protocol.c b/src/comm_protocol.c index da30861..4820bb3 100644 --- a/src/comm_protocol.c +++ b/src/comm_protocol.c @@ -152,7 +152,3 @@ void comm_protocol_send_cal_resp(uint8_t status, uint8_t subcmd, const uint8_t d pkt.frame.crc = frame_crc(pkt.bytes, sizeof(pkt.bytes)); ble_transport_send(pkt.bytes, sizeof(pkt.bytes)); } - -struct k_msgq *comm_protocol_get_msgq(void) { - return &rx_msgq; -}