1
0
Fork 0

Changed _putchar() to void, changed format to CRLF

development
Marco Paland 8 years ago
parent b5b539d814
commit 65b9a297d3

@ -35,13 +35,19 @@
#include <stddef.h> #include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* Output a character to a custom device like UART. * Output a character to a custom device like UART.
* This function is declared here only. You have to write your custom implementation somewhere. * This function is declared here only. You have to write your custom implementation somewhere.
* \param character to output * \param character to output
* \return On success, the character written is returned * \return On success, the character written is returned
*/ */
int _putchar(char character); void _putchar(char character);
/** /**
@ -73,4 +79,9 @@ int sprintf(char* buffer, const char* format, ...);
int snprintf(char* buffer, size_t count, const char* format, ...); int snprintf(char* buffer, size_t count, const char* format, ...);
#ifdef __cplusplus
}
#endif
#endif // _PRINTF_H_ #endif // _PRINTF_H_

Loading…
Cancel
Save