Z-Wave-Me / Z-Uno-Core

Core files for Z-Uno support in Arduino IDE 1.6.5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Callback Pointer not possible.

danielboe opened this issue · comments

I can´t set a simple callback-pointer and don´t understand the error output. My Pointer in Header file is
void (*callback_pointer)(char opt, double * var);

On Arduino it compiles well but on zuno I get:
zunoserial_ucxx.c:210: syntax error: token -> '*' ; column 43 Error. SDCC returned: 1

Is it the wrong syntax ?

Thanks

Okay, if I use only pointers in parameters it compiles. Not shure, if this is right.