From 7ade600bad1ea323e538866698d3e0cbaaa9e15f Mon Sep 17 00:00:00 2001
From: Cristian Maglie <c.maglie@arduino.cc>
Date: Fri, 28 Nov 2014 09:55:25 +0100
Subject: [PATCH]  Removed Uart.write(const char *data) function

---
 cores/arduino/Uart.cpp | 13 -------------
 cores/arduino/Uart.h   |  1 -
 2 files changed, 14 deletions(-)

diff --git a/cores/arduino/Uart.cpp b/cores/arduino/Uart.cpp
index 30925145..9e8a66d0 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 d1b2bc5d..d97ce564 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();
 
-- 
GitLab