modkit/Wiring — comment on commit 3842602166614c01748c9eabac6cea58f72f1ac3
File:  line 0
By edbaafi:

Testing the example program exposes a bug or at least a difference in functionality between the Arduino version of the libraries and the Wiring Framework version.

In the examples, I had to remove some text from the serial print in the receive handlers. Adding a few more characters will crash the device where the same will not crash the device in the Arduino version with the same patch applied. This may be due to differences in Serial buffering (or lack of) or could be due to a defect/compound-bug in the Wiring version of either the Wire and/or Serial libraries.

It is very easy to crash both versions of the wire library (Arduino and Wiring) given the fragile nature of calling user defined callbacks from ISRs so the library is already in need of some rework if this is the desired interface.