style: tests: comply with MISRA C:2012 Rule 15.6

Add missing braces to comply with MISRA C:2012 Rule 15.6 and
also following Zephyr's style guideline.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
Pisit Sawangvonganan 2024-08-16 13:35:07 +07:00 committed by Henrik Brix Andersen
commit b7d55d8ec6
8 changed files with 26 additions and 13 deletions

View file

@ -63,8 +63,9 @@ static void before(void *args)
/* Flush the SQ and CQ */
rtio_sqe_drop_all(&sensor_read_rtio_ctx);
while (rtio_cqe_consume(&sensor_read_rtio_ctx))
while (rtio_cqe_consume(&sensor_read_rtio_ctx)) {
;
}
}
/**