include/can_driver.h
changeset 631 08b6b903f84a
parent 629 b9274b595650
child 644 11b21e9a92f6
--- a/include/can_driver.h	Fri Nov 12 22:49:26 2010 +0100
+++ b/include/can_driver.h	Sat Nov 13 00:03:24 2010 +0100
@@ -59,7 +59,7 @@
 
 
 UNS8 DLL_CALL(canReceive)(CAN_HANDLE, Message *)FCT_PTR_INIT;
-UNS8 DLL_CALL(canSend)(CAN_HANDLE, Message *)FCT_PTR_INIT;
+UNS8 DLL_CALL(canSend)(CAN_HANDLE, Message const *)FCT_PTR_INIT;
 CAN_HANDLE DLL_CALL(canOpen)(s_BOARD *)FCT_PTR_INIT;
 int DLL_CALL(canClose)(CAN_HANDLE)FCT_PTR_INIT;
 UNS8 DLL_CALL(canChangeBaudRate)(CAN_HANDLE, char *)FCT_PTR_INIT;
@@ -69,7 +69,7 @@
 
 #define _P(fc) case fc: MSG(#fc" ");break;
 
-static inline void print_message(Message *m)
+static inline void print_message(Message const *m)
 {
     int i;
     UNS8 fc;