mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-09-28 21:17:33 +00:00
Improve doxygen comments
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#include <sta/uart.hpp>
|
||||
|
||||
//#include <cstdio>
|
||||
#include <sta/printf.hpp>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
// Include last so macros don't mess with other headers
|
||||
#include <printf.h>
|
||||
|
||||
|
||||
namespace sta
|
||||
@@ -143,7 +142,7 @@ namespace sta
|
||||
void UART::printDec(uintmax_t num, const char * fmt)
|
||||
{
|
||||
char buffer[64];
|
||||
sprintf(buffer, fmt, num);
|
||||
snprintf(buffer, sizeof(buffer), fmt, num);
|
||||
print(buffer);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user