From: Kevin Day Date: Fri, 13 May 2022 00:11:04 +0000 (-0500) Subject: Update: Add missing state.flag assignment in f_state_t_clear macro and fix syntax... X-Git-Tag: 0.5.10~147 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=6b128b72e00ead137188583b48446ba47b91b2fe;p=fll Update: Add missing state.flag assignment in f_state_t_clear macro and fix syntax practice in initializer. --- 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; \