mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-30 05:50:43 +02:00
Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead.
Added new Serial_SendData() function to the Serial driver.
This commit is contained in:
@@ -81,3 +81,8 @@ void Serial_SendString(const char* StringPtr)
|
||||
}
|
||||
}
|
||||
|
||||
void Serial_SendData(const uint8_t* Buffer, uint16_t Length)
|
||||
{
|
||||
while (Length--)
|
||||
Serial_SendByte(*(Buffer++));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user