]> Kevux Git Server - fll/commitdiff
Update: Add missing state.flag assignment in f_state_t_clear macro and fix syntax...
authorKevin Day <thekevinday@gmail.com>
Fri, 13 May 2022 00:11:04 +0000 (19:11 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 13 May 2022 00:11:04 +0000 (19:11 -0500)
level_0/f_type/c/type.h

index c23c135a6aca17b783f2cd505bdc327440eaaf5c..31524c47e76fc78b134e4a91ac9c0fdae57632f6 100644 (file)
@@ -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; \