update camera interface

This commit is contained in:
2025-02-26 17:10:46 +01:00
parent b34365534c
commit e372f59715
2 changed files with 37 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ static void send_msg(uint32_t cluster, uint32_t component, uint32_t msg_len, uin
set_mkcontrolclusterstreamcontroller_REG_SEND(msgif, 1);
}
static uint32_t check_response() {
static uint32_t check_response(void) {
while (true) {
if (get_mkcontrolclusterstreamcontroller_REG_ACK_PENDING_RESPONSE(msgif) != 0) {
return get_mkcontrolclusterstreamcontroller_REG_RECV_ID_RECV_ID(msgif);