On 25 June 2010 11:07, Stephen Wille Padnos <[email protected]> wrote:
>
> I'm not looking at the code at the moment, but one thing you need to be sure 
> of is that the HAL data (pins and parameters) need to be allocated from HAL 
> memory using hal_malloc().

It is. However, looking at that code does make me wonder about
something else: Does comp_id need to be static?

int comp_id;
int rtapi_app_main(void) {
    int result;
    comp_id = hal_init("taperkins");
    if(comp_id < 0) return comp_id;



-- 
atp

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to