# HG changeset patch
# User etisserant
# Date 1190874480 -7200
# Node ID dbf7695290ae5ffeb8bda385eead491f32be5c0a
# Parent  24bf3d692993e418e735f5ddd53ee2d4c9915033
Removed struct initializer with non-constant pointer, making TI compiler fail

diff -r 24bf3d692993 -r dbf7695290ae src/pdo.c
--- a/src/pdo.c	Wed Sep 26 16:02:00 2007 +0200
+++ b/src/pdo.c	Thu Sep 27 08:28:00 2007 +0200
@@ -121,8 +121,11 @@
 
       MSG_WAR(0x3930, "sendPDOrequest cobId is : ",*pwCobId);
       {
-      Message pdo = {*pwCobId, REQUEST, 0};
-      return canSend(d->canHandle,&pdo);
+          Message pdo;
+          pdo.cob_id.w = *pwCobId;
+          pdo.rtr = REQUEST;
+          pdo.len = 0;      
+          return canSend(d->canHandle,&pdo);
       }
     }
   }