karlp / Mrf24j40-arduino-library

arduino driver for the mrf24j40 802.15.4 modules
false.ekta.is
43 stars 28 forks source link

interrupt handler #3

Open f-giorgi opened 9 years ago

f-giorgi commented 9 years ago

in mrf24j.cpp [line 222] I see: rx_datalength() invoked, which is: return rx_info.frame_length - bytes_nodata;

rx_info is not yet initialized at that time, first init on line 226 am I missing something?

karlp commented 9 years ago

looks like you're right, iirc, that "rx_datalength()" code was added by someone else to handle the "xbee mode" extra header.