--- 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
{