# HG changeset patch # User Christian Taedcke # Date 1337668567 -7200 # Node ID b5f4b3e2d01cc282ab94c32639d4c20a94eb65f8 # Parent 17fb41e21e7aaf2730b40430b835b1b84d2b9cbf 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. diff -r 17fb41e21e7a -r b5f4b3e2d01c 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 {