From: Olivier Matz Date: Tue, 8 Apr 2014 20:38:11 +0000 (+0200) Subject: logs: do not forget to register logs X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=aa02020a5c5dc7091a6c20d831d82521f8e0499e;p=protos%2Fxbee-avr.git logs: do not forget to register logs --- 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();