From 8f88cdccea6b8f1f8521bcad6724cacb1e6acbcf Mon Sep 17 00:00:00 2001 From: BlackMark Date: Mon, 13 Apr 2020 17:17:17 +0200 Subject: [PATCH] Fix misaligned ifdef-endif pair --- hardware1.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hardware1.hpp b/hardware1.hpp index 22e4c15..05d9494 100644 --- a/hardware1.hpp +++ b/hardware1.hpp @@ -127,10 +127,14 @@ class Hardware1 } }; +#endif + } // namespace uart ////////////////////////////////////////////////////////////////////////// +#ifdef HAS_UART1 + // Forward declare interrupt functions to allow adding them as friends extern "C" { void USART1_RX_vect() __attribute__((signal));