Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon Küppers) instead of a uint8_t pointer.
This commit is contained in:
1 parent
2b4658de2c
commit
cfa48f5987
16 files changed
+54
-53
No files matched your search
@@ -85,11 +85,11 @@ void Serial_SendString(const char* StringPtr)
|
||||
}
|
||||
}
|
||||
|
||||
void Serial_SendData(const uint8_t* Buffer,
|
||||
void Serial_SendData(const void* Buffer,
|
||||
uint16_t Length)
|
||||
{
|
||||
while (Length--)
|
||||
Serial_SendByte(*(Buffer++));
|
||||
Serial_SendByte(*((uint8_t*)Buffer++));
|
||||
}
|
||||
|
||||
void Serial_CreateStream(FILE* Stream)
|
||||
|
||||
Reference in new issue
Block a user