equal
deleted
inserted
replaced
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 #include "data.h" |
24 #include "data.h" |
25 #include "sync.h" |
25 #include "sync.h" |
|
26 #include "canfestival.h" |
26 |
27 |
27 /* Prototypes for internals functions */ |
28 /* Prototypes for internals functions */ |
28 void SyncAlarm(CO_Data* d, UNS32 id); |
29 void SyncAlarm(CO_Data* d, UNS32 id); |
29 UNS32 OnCOB_ID_SyncUpdate(CO_Data* d, const indextable * unsused_indextable, |
30 UNS32 OnCOB_ID_SyncUpdate(CO_Data* d, const indextable * unsused_indextable, |
30 UNS8 unsused_bSubindex); |
31 UNS8 unsused_bSubindex); |
81 MSG_WAR(0x3001, "sendSYNC ", 0); |
82 MSG_WAR(0x3001, "sendSYNC ", 0); |
82 |
83 |
83 m.cob_id.w = cob_id ; |
84 m.cob_id.w = cob_id ; |
84 m.rtr = NOT_A_REQUEST; |
85 m.rtr = NOT_A_REQUEST; |
85 m.len = 0; |
86 m.len = 0; |
86 resultat = (*d->canSend)(&m) ; |
87 resultat = canSend(d->canHandle,&m) ; |
87 proceedSYNC(d, &m) ; |
88 proceedSYNC(d, &m) ; |
88 return resultat ; |
89 return resultat ; |
89 } |
90 } |
90 |
91 |
91 /*****************************************************************************/ |
92 /*****************************************************************************/ |
235 |
236 |
236 return 0; |
237 return 0; |
237 } |
238 } |
238 |
239 |
239 |
240 |
|
241 void _post_sync(){} |
|
242 void _post_TPDO(){} |