OK, to restate the problem, the hal_ppmc.c driver has 5
optional parameters, created with the
RTAPI_MP_ARRAY_INT function. The first one works, all the
rest get a strange error message
if you try to invoke them in the loadrt command line.
Now, the 4 later parameters are a bit odd, they allow you to
supply a list of values.
The code looks like this :
int timestamp[MAX_BUS*8] = {
-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1 }; /* default, no extra
stuff */
RTAPI_MP_ARRAY_INT(timestamp, MAX_BUS*8, "bus/slot locations
of timestamped encoders");
Can anybody see anything wrong with the way these are coded
up? If one of these parameters is supplied, the error
is :
timestamp=0x00: Invalid type character `*'
Which doesn't make much sense to me.
If you omit the troublesome parameter, then the driver seems
to work fine.
Thanks,
Jon
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers