From 540272c93c7d0b4a12ea797c996f2c9ddf2a5bbb Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Sun, 22 Apr 2018 13:58:32 +0300 Subject: 1. IfIndex in control interface 2. container.c moved to communication --- .../Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c') diff --git a/Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c b/Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c index 1de8ac0de..881034e40 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c @@ -26,7 +26,7 @@ uint32_t DriverActionWithCallback (uint32_t deviceId, uint32_t parameter, callba ModuleCallback = callback; //start control: - uint32_t ControlId = AddControlCallback( callback, eOneMillisecond, NULL, deviceId, parameter ); + uint32_t ControlId = AddControlCallback( callback, eOneMillisecond, NULL, (IfTypeNone*0x100+deviceId),deviceId, parameter ); return ControlId; } -- cgit v1.3.1