From 6b128b72e00ead137188583b48446ba47b91b2fe Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 12 May 2022 19:11:04 -0500 Subject: [PATCH] Update: Add missing state.flag assignment in f_state_t_clear macro and fix syntax practice in initializer. --- level_0/f_type/c/type.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/level_0/f_type/c/type.h b/level_0/f_type/c/type.h index c23c135..31524c4 100644 --- a/level_0/f_type/c/type.h +++ b/level_0/f_type/c/type.h @@ -125,12 +125,13 @@ extern "C" { interrupt, \ callbacks, \ custom, \ - data \ + data, \ } #define macro_f_state_t_clear(state) \ state.step_large = 0; \ state.step_small = 0; \ + state.flag = 0; \ state.handle = 0; \ state.interrupt = 0; \ state.callbacks = 0; \ -- 1.8.3.1