Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 709 → Rev 710

/trunk/canbus.c
114,7 → 114,7
{
static u32 index = 1;
 
if(CAN_SendMessage(CAN_TX_MSGOBJ, &CanTxMessage[index]) == SUCCESS)
if(CAN_SendMessage(CAN_TX_MSGOBJ, (canmsg*) &CanTxMessage[index]) == SUCCESS)
{
if(++index >= MAX_CAN_MSG)
{
220,7 → 220,7
{
u32 i;
AllMsgsReceived = 0;
DebugOut.Analog[16]++;
// DebugOut.Analog[16]++;
CanbusTimeOut = 1000;
for(i=0; i<8;i++)
{
238,8 → 238,6
 
CanTxMessage[CAN_ID_VERSION].D.Byte[1] = Parameter.ActiveSetting;
 
DebugOut.Analog[19] = Partner.GyroCompassCorrected;
 
if(IamMaster == SLAVE)
{
GPS_FailsafePosition.Longitude = CanRxMessage[CAN_ID_FS_LON].D.sLong;