diff --git a/include/sta/printf.hpp b/include/sta/printf.hpp deleted file mode 100644 index 520fd74..0000000 --- a/include/sta/printf.hpp +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @file - * @brief Compatibility layer for different printf implementations. - * - * Configuration: - * * STA_PRINTF_USE_STDLIB: Use printf implementation from standard library - * * STA_PRINTF_USE_MPALAND: Use printf implementation from Marco Paland - */ -#ifndef STA_CORE_PRINTF_HPP -#define STA_CORE_PRINTF_HPP - -#include - -#if !defined(STA_PRINTF_USE_STDLIB) && !defined(STA_PRINTF_USE_MPALAND) -# error "No printf implementation chosen!" -#endif // !STA_PRINTF_USE_STDLIB && !STA_PRINTF_USE_MPALAND - - -#ifdef STA_PRINTF_USE_STDLIB -# ifdef STA_PLATFORM_ARDUINO -# include -# else -# include -# endif // STA_PLATFORM_ARDUINO -#endif // STA_PRINTF_USE_STDLIB -#ifdef STA_PRINTF_USE_MPALAND -# include -#endif // STA_PRINTF_USE_MPALAND - - -#endif // STA_CORE_PRINTF_HPP diff --git a/src/debug/printing/printable_uart.cpp b/src/debug/printing/printable_uart.cpp index 14dcb4b..d20f9d8 100644 --- a/src/debug/printing/printable_uart.cpp +++ b/src/debug/printing/printable_uart.cpp @@ -1,7 +1,6 @@ #include #include -#include #ifdef STA_PLATFORM_ARDUINO # include diff --git a/src/devices/arduino/printable_serial.cpp b/src/devices/arduino/printable_serial.cpp index ae74fe7..09a81ec 100644 --- a/src/devices/arduino/printable_serial.cpp +++ b/src/devices/arduino/printable_serial.cpp @@ -1,4 +1,4 @@ -#include +#include #ifdef STA_PLATFORM_ARDUINO