Change-Id: I0f2a0eae8b4de982549fa4a87e2e0f8150c7d6cc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
return 1;
}
+unsigned afb_context_get_loa(struct afb_context *context)
+{
+ return context->loa_changing || context->loa_changed ? context->loa_out : context->loa_in;
+}
+
extern int afb_context_check(struct afb_context *context);
extern int afb_context_check_loa(struct afb_context *context, unsigned loa);
extern int afb_context_change_loa(struct afb_context *context, unsigned loa);
+extern unsigned afb_context_get_loa(struct afb_context *context);