From 58354556aafa7706897f3fa024861e7e0822ca7f Mon Sep 17 00:00:00 2001 From: Mark Rivers Date: Sat, 8 Sep 2018 14:04:15 -0500 Subject: [PATCH] Fixed soft_init: it is passed an int, not a (void *). --- motorApp/SoftMotorSrc/devSoftAux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorApp/SoftMotorSrc/devSoftAux.cc b/motorApp/SoftMotorSrc/devSoftAux.cc index d2fcdae1..a44f112f 100644 --- a/motorApp/SoftMotorSrc/devSoftAux.cc +++ b/motorApp/SoftMotorSrc/devSoftAux.cc @@ -74,7 +74,7 @@ STATIC void soft_rinp(struct event_handler_args args) soft_rinp_func((struct motorRecord *) args.usr, *((long *) args.dbr)); } -long soft_init(void *after) +long soft_init(int after) { int before_after = (after == 0) ? 0 : 1;