Skip to content

Commit 7ade600

Browse files
committed
Removed Uart.write(const char *data) function
1 parent 7b14e6d commit 7ade600

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

cores/arduino/Uart.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,6 @@ size_t Uart::write(const uint8_t data)
9292
return 1;
9393
}
9494

95-
size_t Uart::write(const char * data)
96-
{
97-
size_t writed = 0;
98-
99-
while(*data != '\0')
100-
{
101-
writed += write(*data);
102-
++data;
103-
}
104-
105-
return writed;
106-
}
107-
10895
SercomNumberStopBit Uart::extractNbStopBit(uint8_t config)
10996
{
11097
switch(config & HARDSER_STOP_BIT_MASK)

cores/arduino/Uart.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class Uart : public HardwareSerial
3838
int read();
3939
void flush();
4040
size_t write(const uint8_t data);
41-
size_t write(const char * data);
4241

4342
void IrqHandler();
4443

0 commit comments

Comments
 (0)