Skip to content

Commit

Permalink
makes ISR name seamless between Uno and Mega
Browse files Browse the repository at this point in the history
  • Loading branch information
Paciente8159 committed Oct 28, 2023
1 parent 3518849 commit 71b1981
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions uCNC/src/hal/mcus/avr/mcumap_avr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71b1981

Please sign in to comment.