#ifndef UX_TEST_ACTIONS_H #define UX_TEST_ACTIONS_H #include "ux_test.h" static UX_TEST_ACTION create_error_match_action(UINT system_level, UINT system_context, UINT error_code) { UX_TEST_ACTION action = { 0 }; action.usbx_function = UX_TEST_OVERRIDE_ERROR_CALLBACK; action.system_level = system_level; action.system_context = system_context; action.error_code = error_code; action.no_return = 1; return action; } #endif