Re: [Emc-users] parameters passed to hal comps

2018-12-29 Thread Nicklas Karlsson
I am on my way to add have added a driver that works but are not ready for use yet so I might be able to help you but have very limited time right now. On Sat, 29 Dec 2018 12:36:45 +0700 TJoseph Powderly wrote: > I read in several comp.c sources that functions in the comps get passed > (void *

Re: [Emc-users] parameters passed to hal comps

2018-12-29 Thread Dewey Garrett
> I read in several comp.c sources that functions in the comps > get passed (void *arg, long period). These are typically functions setup with hal_export_funct(). The interface is described in hal.h: https://github.com/LinuxCNC/linuxcnc/blob/2.7-hm2-encoder-raw-position/src/hal/hal.h "hal_ex