KevinOConnor / can2040

Software CAN bus implementation for rp2040 micro-controllers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example code fixes

sailingfree opened this issue · comments

Hi, thanks for an excellent driver for the pico. Just one small issue in the API document. I think the example code should read:

// Enable irqs
irq_set_exclusive_handler(PIO0_IRQ_0_IRQn, PIOx_IRQHandler);

The irq_set_exclusive_handler has the arguments swapped.

Thanks. Should be fixed now (commit 6355c1b).

-Kevin