avr-hal
avr-hal copied to clipboard
Fix UART macro for special implementations in atmega-hal
Right now, atmega-hal contains two custom implementations of UsartOps for two MCUs where the default impl doesn't work (ATmega8, ATmega128):
https://github.com/Rahix/avr-hal/blob/7b3212216899d51a9ab3b63852264147ae642e84/mcu/atmega-hal/src/usart.rs#L116-L341
We should update the impl_usart_traditional!{} macro to support the slight changes which are needed for these two implementations.
Ref #397 and #384.