aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Peripheral/Serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/Peripheral/Serial.c')
-rw-r--r--LUFA/Drivers/Peripheral/Serial.c5
1 files changed, 5 insertions, 0 deletions
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++));
+}