Fixed soft_init: it is passed an int, not a (void *).

This commit is contained in:
Mark Rivers
2018-09-08 14:04:15 -05:00
parent 8b5d5f92bd
commit 58354556aa
+1 -1
View File
@@ -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;