From aa02020a5c5dc7091a6c20d831d82521f8e0499e Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Tue, 8 Apr 2014 22:38:11 +0200 Subject: [PATCH] logs: do not forget to register logs --- main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.c b/main.c index a0839d2..4529d6e 100644 --- a/main.c +++ b/main.c @@ -159,6 +159,14 @@ int main(void) callout_mgr_init(&xbeeboard.intr_cm, get_time_ms); cmdline_init(); + /* LOGS */ + error_register_emerg(mylog); + error_register_error(mylog); + error_register_warning(mylog); + error_register_notice(mylog); + error_register_debug(mylog); + + spi_servo_init(); beep_init(); -- 2.39.5