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:
Dean Camera 2013-02-24 15:46:58 +00:00
parent 2b4658de2c
commit cfa48f5987
16 changed files with 54 additions and 53 deletions

View file

@ -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)