From 71b198155ca5daafb82c9040a729bf47020c3609 Mon Sep 17 00:00:00 2001 From: Paciente8159 Date: Sat, 28 Oct 2023 23:42:18 +0100 Subject: [PATCH] makes ISR name seamless between Uno and Mega --- uCNC/src/hal/mcus/avr/mcumap_avr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uCNC/src/hal/mcus/avr/mcumap_avr.h b/uCNC/src/hal/mcus/avr/mcumap_avr.h index df12eb897..d81495ef1 100644 --- a/uCNC/src/hal/mcus/avr/mcumap_avr.h +++ b/uCNC/src/hal/mcus/avr/mcumap_avr.h @@ -4332,6 +4332,10 @@ extern "C" #define MCU_HAS_UART2 #endif +//makes ISR name seamless between Uno and Mega +#define USART0_RX_vect USART_RX_vect +#define USART0_RX_vect USART_RX_vect + // COM registers #ifdef MCU_HAS_UART #ifndef UART_PORT