Switched to include interrupt vectors by default
This commit is contained in:
parent
ddf105a175
commit
1bdc06a325
@ -120,7 +120,7 @@ class Hardware0<cfg, Driven::INTERRUPT, mode>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef UART0_INT_VECTORS
|
||||
#ifndef UART0_NO_INT_VECTORS
|
||||
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
@ -156,6 +156,4 @@ ISR(USART0_UDRE_vect)
|
||||
} // namespace detail
|
||||
} // namespace uart
|
||||
|
||||
#undef UART0_INT_VECTORS
|
||||
|
||||
#endif
|
||||
|
@ -124,7 +124,7 @@ class Hardware1<cfg, Driven::INTERRUPT, mode>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef UART1_INT_VECTORS
|
||||
#ifndef UART1_NO_INT_VECTORS
|
||||
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
@ -153,6 +153,4 @@ ISR(USART1_UDRE_vect)
|
||||
} // namespace detail
|
||||
} // namespace uart
|
||||
|
||||
#undef UART1_INT_VECTORS
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user