src/component.c +3−0 View file@@ -4,3 +4,6 @@ asw_safety_result asw_evaluate_safety(int emergency_stop, int critical_fault_cou
4 4
asw_safety_result result = {unsafe ? ASW_SAFE_STOP : ASW_RUN, unsafe ? 0 : 1, unsafe ? 1 : 0};5 5
return result;6 6
} 7 +
8 +
#include <string.h> 9 +
void asw_demo_unbounded_copy(char *target, const char *source) { strcpy(target, source); }