X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/afd828c095f38753e989391eab670b8736e4bd6e..43c473530552acabcf5bb1db29555bfb5ea70b79:/LUFA/Drivers/Peripheral/Serial.c diff --git a/LUFA/Drivers/Peripheral/Serial.c b/LUFA/Drivers/Peripheral/Serial.c index d9d946e36..99af2000c 100644 --- a/LUFA/Drivers/Peripheral/Serial.c +++ b/LUFA/Drivers/Peripheral/Serial.c @@ -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++)); +}