Switched to include interrupt vectors by default
This commit is contained in:
1 parent
ddf105a175
commit
1bdc06a325
2 files changed
+2
-6
No files matched your search
+1
-3
@@ -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
|
||||
+1
-3
@@ -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
|
||||
Reference in new issue
Block a user