Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

alt_ic_isr_register error

can anyone tell me why I am getting this error:invalid conversion from 'void (*)(filterVars*)' to 'alt_isr_func {aka void (*)(void*)}' [-fpermissive] AirRegulator.cc /SystemCode line 52 C/C++ Problem

It is saying I am doing something wrong with my 4th input. I am trying to enter &ADCdata which is a structure I created and am trying to fill with data read from an ADC on the max 10.

This HAL API command is the only error in my program.

Thanks
No RepliesBe the first to reply