Skip to content
Snippets Groups Projects
Commit 7ade600b authored by Cristian Maglie's avatar Cristian Maglie Committed by Cristian Maglie
Browse files

Removed Uart.write(const char *data) function

parent 7b14e6df
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment