debug=MSG -> print CAN messages
authoretisserant
Sun, 09 Dec 2007 15:38:30 +0100
changeset 330 04b92f78d7bb
parent 329 7717252e3ed9
child 331 da55aa2f9e64
debug=MSG -> print CAN messages
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