FIXED: - Renamed macro for peak win32 driver, patch from mailinglist (post from Christian Boepple, 2010-09-08 14:38)
--- a/drivers/can_peak_win32/can_peak_win32.c Mon Nov 15 08:56:35 2010 +0100
+++ b/drivers/can_peak_win32/can_peak_win32.c Wed Nov 10 14:19:31 2010 +0100
@@ -150,7 +150,7 @@
if (result == WAIT_OBJECT_0)
Res = CAN2_ReadEx(&peakMsg, &peakRcvTime);
// Exit receive thread when handle is no more valid
- if(Res & CAN_ERRMASK_ILLHANDLE)
+ if(Res & CAN_ERR_ILLHANDLE)
return 1;
}
else
@@ -163,7 +163,7 @@
{
Res = CAN_ReadEx(&peakMsg, &peakRcvTime);
// Exit receive thread when handle is no more valid
- if(Res & CAN_ERRMASK_ILLHANDLE)
+ if(Res & CAN_ERR_ILLHANDLE)
return 1;
}
}