diff --git a/include/sta/debug/printing/printable_serial.hpp b/include/sta/debug/printing/printable_serial.hpp deleted file mode 100644 index bbe713d..0000000 --- a/include/sta/debug/printing/printable_serial.hpp +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef STA_CORE_PRINTABLE_SERIAL_HPP -#define STA_CORE_PRINTABLE_SERIAL_HPP - -#include -#ifdef STA_PLATFORM_ARDUINO - -namespace sta -{ - class PrintableSerial: public Printable - { - public: - /** - * @brief Construct a new Printable Serial object - */ - PrintableSerial(unsigned long baud); - - /** - * @brief Print string. - * - * @param str String buffer - * @param length String length - */ - void print(const char * str, size_t length) override; - }; -} // namespace sta - -#endif // STA_PLATFORM_ARDUINO - -#endif // STA_CORE_PRINTABLE_SERIAL_HPP \ No newline at end of file diff --git a/include/sta/devices/arduino/debug_serial.hpp b/include/sta/devices/arduino/debug_serial.hpp deleted file mode 100644 index cfb5bbf..0000000 --- a/include/sta/devices/arduino/debug_serial.hpp +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef STA_CORE_ARDUINO_DEBUG_SERIAL_HPP -#define STA_CORE_ARDUINO_DEBUG_SERIAL_HPP - - - - -#endif // STA_CORE_ARDUINO_DEBUG_SERIAL_HPP \ No newline at end of file diff --git a/src/debug/printing/printable_serial.cpp b/src/debug/printing/printable_serial.cpp deleted file mode 100644 index ae74fe7..0000000 --- a/src/debug/printing/printable_serial.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include - -#ifdef STA_PLATFORM_ARDUINO - -#include - -namespace sta -{ - PrintableSerial::PrintableSerial(unsigned long baud) - : Printable{} - { - Serial.begin(baud); - } - - void PrintableSerial::print(const char * str, size_t length) - { - Serial.write(str); - } -} // namespace sta - -#endif // STA_PLATFORM_ARDUINO \ No newline at end of file