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:
parent
2b4658de2c
commit
cfa48f5987
16 changed files with 54 additions and 53 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue