Closed hughsie closed 9 years ago
It's not an undocumented quirk, it's C. Both are correct. Remember also that m-stack works on more than just xc8.
See the first few links at: https://www.google.com/search?q=ampersand+function+pointer
Hah, I've learned something new today. Sorry for the noise! :)
No worries
In the various programs in m-stack there are two different ways usb_start_receive_ep0_data_stage() is being used:
and
I don't think it matters to the xc8 compiler, but it does feel a bit odd to rely on this undocumented compiler quirk.
Richard