drivers/can_peak_win32/can_peak_win32.c
changeset 739 4faa0bb578e0
parent 730 b5f4b3e2d01c
--- a/drivers/can_peak_win32/can_peak_win32.c	Wed Jun 13 19:07:41 2012 +0200
+++ b/drivers/can_peak_win32/can_peak_win32.c	Wed Jun 13 19:08:58 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
 	{