From 7d5398b6afc3243c6776f50eeea6e3a3e6b1a41a Mon Sep 17 00:00:00 2001 From: Will Xyen Date: Mon, 13 Sep 2021 13:38:27 -0700 Subject: [PATCH] acio: minor fixes --- src/main/acio/mdxf.h | 1 + src/main/aciodrv/rvol.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/acio/mdxf.h b/src/main/acio/mdxf.h index 9bb5005..2ddf2ae 100644 --- a/src/main/acio/mdxf.h +++ b/src/main/acio/mdxf.h @@ -15,6 +15,7 @@ union mdxf_panel_sensors_individual { uint8_t left : 1; uint8_t down : 1; uint8_t up : 1; + uint8_t unused : 4; }; uint8_t raw; }; diff --git a/src/main/aciodrv/rvol.c b/src/main/aciodrv/rvol.c index 375d0cc..3a06cee 100644 --- a/src/main/aciodrv/rvol.c +++ b/src/main/aciodrv/rvol.c @@ -56,6 +56,7 @@ bool aciodrv_rvol_poll( struct ac_io_message msg; log_assert(device); + log_assert(pout); msg.addr = node_id + 1; msg.cmd.code = ac_io_u16(AC_IO_CMD_RVOL_POLL);