From 1bdc06a325a4559ce0fcf101622a009cf03371fb Mon Sep 17 00:00:00 2001 From: BlackMark Date: Thu, 15 Aug 2019 18:12:37 +0200 Subject: [PATCH] Switched to include interrupt vectors by default --- hardware0.hpp | 4 +--- hardware1.hpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hardware0.hpp b/hardware0.hpp index 7e7dcea..ffbdd0d 100644 --- a/hardware0.hpp +++ b/hardware0.hpp @@ -120,7 +120,7 @@ class Hardware0 ////////////////////////////////////////////////////////////////////////// -#ifdef UART0_INT_VECTORS +#ifndef UART0_NO_INT_VECTORS #include @@ -156,6 +156,4 @@ ISR(USART0_UDRE_vect) } // namespace detail } // namespace uart -#undef UART0_INT_VECTORS - #endif diff --git a/hardware1.hpp b/hardware1.hpp index 6023a61..72233da 100644 --- a/hardware1.hpp +++ b/hardware1.hpp @@ -124,7 +124,7 @@ class Hardware1 ////////////////////////////////////////////////////////////////////////// -#ifdef UART1_INT_VECTORS +#ifndef UART1_NO_INT_VECTORS #include @@ -153,6 +153,4 @@ ISR(USART1_UDRE_vect) } // namespace detail } // namespace uart -#undef UART1_INT_VECTORS - #endif