Changed library so that user has to explicitly include hardware header with int vector define set to get ISR
This commit is contained in:
@@ -128,7 +128,7 @@ class Hardware0<cfg, Driven::INTERRUPT, mode>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef UART0_NO_INT_VECTORS
|
||||
#ifdef UART0_INT_VECTORS
|
||||
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
@@ -164,4 +164,6 @@ ISR(USART0_UDRE_vect)
|
||||
} // namespace detail
|
||||
} // namespace uart
|
||||
|
||||
#undef UART0_INT_VECTORS
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user