aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-04-22 14:47:15 +0300
committerAvi Levkovich <avi@twine-s.com>2018-04-22 14:47:15 +0300
commit91e2d94ec400f700cb16c616df29359aaa414cb7 (patch)
tree55b36c9aebf3b2a77e7825796eb5d3b6ceeb4f24 /Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c
parent4340c1e6db16b5d5963dd1617810098ec1955462 (diff)
parent531c3aba8b49d38f53890c61aa3addef3b5c28dd (diff)
downloadTango-91e2d94ec400f700cb16c616df29359aaa414cb7.tar.gz
Tango-91e2d94ec400f700cb16c616df29359aaa414cb7.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/DriverWithCallbackExample.c2
1 files changed, 1 insertions, 1 deletions
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;
}