avr-rust / ruduino

Reusable components for the Arduino Uno.
Apache License 2.0
695 stars 49 forks source link

Panic handler should be optional #19

Closed shepmaster closed 3 years ago

shepmaster commented 3 years ago

I have defined my own panic handler (which just prints to the serial port), which conflicts with the one here.

dylanmckay commented 3 years ago

I suppose that it would have conflicted beforehand with #20. Agree that it should be optional. It should be easy to make the crate dependency optional so that downstream users can opt-out with no-default-features.