Forum Discussion
Altera_Forum
Honored Contributor
10 years agohi, i tried and it works!
this is the code: void ft245_interrupt(alt_u32 precision_data[500]) { ..... } int main() { alt_u32 i=0; alt_u32 precision_data_1[500]={0}; i=alt_irq_enabled(); alt_ic_isr_register (NIOS_FT245_INTERFACE_0_IRQ_INTERRUPT_CONTROLLER_ID, NIOS_FT245_INTERFACE_0_IRQ, ft245_interrupt, precision_data_1, NULL); but the eclipse give me a warning Description Resource Path Location Type passing argument 3 of 'alt_ic_isr_register' from incompatible pointer type hello_world.c /project3 line 99 C/C++ Problem