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