Z-Wave-Me / Z-Uno-Core

Core files for Z-Uno support in Arduino IDE 1.6.5
21 stars 12 forks source link

Callback Pointer not possible. #77

Open danielboe opened 8 years ago

danielboe commented 8 years ago

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

danielboe commented 8 years ago

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