Replace uartPrintf() with uartPutInteger() and ...HexByte() because WTF everything is broken

This commit is contained in:
Lexi / Zoe 2021-04-17 02:32:28 +02:00
parent 201b1db6a6
commit 07e5b74e83
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
3 changed files with 28 additions and 17 deletions

View file

@ -16,8 +16,11 @@ void uartPutString(char* data);
// Transmit a string followed by a line break
void uartPutLine(char* data);
// Transmit a sprintf formatted string (maximum buffer: 256 bytes!)
void uartPrintf(const char* format, ...);
// Convert an integer to decimal ASCII and transmit
void uartPutInteger(int value);
// Convert a byte to hexadecimal ASCII and transmit
void uartPutHexByte(uint8_t byte);
// Read a single character (blocking)
unsigned char uartGetChar();