From bb303a645f61dfc652bc259ea0dc30b994408a36 Mon Sep 17 00:00:00 2001 From: Alex Brinkman Date: Thu, 18 Feb 2021 09:30:33 -0800 Subject: [PATCH] add userdata initialization to default ecx_contextt --- soem/ethercatmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/soem/ethercatmain.c b/soem/ethercatmain.c index 48c4d8d..8667f1a 100644 --- a/soem/ethercatmain.c +++ b/soem/ethercatmain.c @@ -118,7 +118,8 @@ ecx_contextt ecx_context = { &ec_FMMU, // .eepFMMU = NULL, // .FOEhook() NULL, // .EOEhook() - 0 // .manualstatechange + 0, // .manualstatechange + NULL, // .userdata }; #endif