From 29ea3208b004f15dafa48ae29a75ba7f0c093a74 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sun, 17 May 2015 17:14:07 +0200 Subject: working on vt52 layer --- lib/logger/log.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/logger/log.c') diff --git a/lib/logger/log.c b/lib/logger/log.c index bcfedf0..7d58458 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -6,6 +6,7 @@ #include "log.h" #include "kernel/config.h" #include "kernel/console.h" +#include "terminal/vt52.h" #include "lib/printf/printf.h" #include "kernel/timer.h" @@ -15,6 +16,10 @@ static int first=0; static int last=0; static bool init=true;// +static void init_log() +{ +} + void log(char *module_name, int log_level, char *format_string, ...) { @@ -68,8 +73,9 @@ void panic(char *module_name, char *message) } - -void log_log() +// unused shit! +/* +static void log_log() { #ifdef FOOLOS_LOG_OFF return; @@ -86,4 +92,4 @@ void log_log() init=true; } - +*/ -- cgit v1.2.3