can_peak_win32 code:
authorChristian Taedcke <hacking@taedcke.com>
Tue, 22 May 2012 08:36:07 +0200
changeset 730 b5f4b3e2d01c
parent 729 17fb41e21e7a
child 731 c4793e10e04f
can_peak_win32 code:
- changed m->Data to m->data, because the renaming was not done in the main code yet.
The peak driver compiles now.
drivers/can_peak_win32/can_peak_win32.c
--- a/drivers/can_peak_win32/can_peak_win32.c	Tue May 22 08:34:25 2012 +0200
+++ b/drivers/can_peak_win32/can_peak_win32.c	Tue May 22 08:36:07 2012 +0200
@@ -261,7 +261,7 @@
 		     m->rtr = 1;
 		   m->len = peakMsg.LEN;		/* count of data bytes (0..8) */
 		   for (data = 0; data < peakMsg.LEN; data++)
-			m->Data[data] = peakMsg.DATA[data];	/* data bytes, up to 8 */
+			m->data[data] = peakMsg.DATA[data];	/* data bytes, up to 8 */
 #if defined DEBUG_MSG_CONSOLE_ON
 			MSG("in : ");
 			print_message(m);
@@ -301,7 +301,7 @@
 	peakMsg.LEN = m->len;
 	/* count of data bytes (0..8) */
 	for (data = 0; data < m->len; data++)
-		peakMsg.DATA[data] = m->Data[data];	/* data bytes, up to 8 */
+		peakMsg.DATA[data] = m->data[data];	/* data bytes, up to 8 */
 
 	do
 	{