diff --git a/cores/arduino/Uart.cpp b/cores/arduino/Uart.cpp index 30925145b7e5bfd2f25fbfc21790411b367799ac..9e8a66d03bf559a98d40704074a3430f5ec3decf 100644 --- a/cores/arduino/Uart.cpp +++ b/cores/arduino/Uart.cpp @@ -92,19 +92,6 @@ size_t Uart::write(const uint8_t data) return 1; } -size_t Uart::write(const char * data) -{ - size_t writed = 0; - - while(*data != '\0') - { - writed += write(*data); - ++data; - } - - return writed; -} - SercomNumberStopBit Uart::extractNbStopBit(uint8_t config) { switch(config & HARDSER_STOP_BIT_MASK) diff --git a/cores/arduino/Uart.h b/cores/arduino/Uart.h index d1b2bc5d713915b2cd7fc29b107e54ee90a56328..d97ce564b0d22c96c4ff59a0080afab138c27f27 100644 --- a/cores/arduino/Uart.h +++ b/cores/arduino/Uart.h @@ -38,7 +38,6 @@ class Uart : public HardwareSerial int read(); void flush(); size_t write(const uint8_t data); - size_t write(const char * data); void IrqHandler();