|
|
@ -88,8 +88,10 @@ void Serial_SendString(const char* StringPtr)
|
|
|
|
void Serial_SendData(const void* Buffer,
|
|
|
|
void Serial_SendData(const void* Buffer,
|
|
|
|
uint16_t Length)
|
|
|
|
uint16_t Length)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
uint8_t* CurrByte = (uint8_t*)Buffer;
|
|
|
|
|
|
|
|
|
|
|
|
while (Length--)
|
|
|
|
while (Length--)
|
|
|
|
Serial_SendByte(*((uint8_t*)Buffer++));
|
|
|
|
Serial_SendByte(*(CurrByte++));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Serial_CreateStream(FILE* Stream)
|
|
|
|
void Serial_CreateStream(FILE* Stream)
|
|
|
|