changes to fit the codestyle

improved a comment
removed unused code and imports
This commit is contained in:
Resaec
2018-09-24 00:02:58 +02:00
parent 8cc266174d
commit 1eb3d7969e
3 changed files with 16 additions and 19 deletions

View File

@@ -17,10 +17,9 @@
#ifndef FUSEE_PRINT_H
#define FUSEE_PRINT_H
#define PRINT_MESSAGE_MAX_LENGTH 512
#define PRINT_MESSAGE_MAX_LENGTH 512
//#include <stdint.h>
#include "../../fusee-primary/src/lib/vsprintf.h"
#include <stdarg.h>
typedef enum {
SCREEN_LOG_LEVEL_NONE = 0,
@@ -36,7 +35,7 @@ extern ScreenLogLevel g_screen_log_level;
void log_set_log_level(ScreenLogLevel screen_log_level);
void log_to_uart(const char *message);
void vprint(ScreenLogLevel screenLogLevel, const char *fmt, va_list args);
void print(ScreenLogLevel screenLogLevel, const char* fmt, ...);
void vprint(ScreenLogLevel screen_log_level, const char *fmt, va_list args);
void print(ScreenLogLevel screen_log_level, const char* fmt, ...);
#endif