# HG changeset patch # User etisserant # Date 1197211110 -3600 # Node ID 04b92f78d7bb35bdd7807422ef40933d798cd76b # Parent 7717252e3ed981ab950d91ea30313954c11ff9d6 debug=MSG -> print CAN messages diff -r 7717252e3ed9 -r 04b92f78d7bb drivers/can_socket/can_socket.c --- a/drivers/can_socket/can_socket.c Sat Dec 08 15:01:14 2007 +0100 +++ b/drivers/can_socket/can_socket.c Sun Dec 09 15:38:30 2007 +0100 @@ -81,7 +81,7 @@ m->rtr = 0; memcpy (m->data, frame.data, 8); -#if defined DEBUG_WAR_CONSOLE_ON || defined DEBUG_ERR_CONSOLE_ON +#if defined DEBUG_MSG_CONSOLE_ON printf("in : "); print_message(m); #endif @@ -105,7 +105,7 @@ else memcpy (frame.data, m->data, 8); -#if defined DEBUG_WAR_CONSOLE_ON || defined DEBUG_ERR_CONSOLE_ON +#if defined DEBUG_MSG_CONSOLE_ON printf("out : "); print_message(m); #endif