equal
deleted
inserted
replaced
64 } |
64 } |
65 |
65 |
66 UNS32 OnMasterMap1Update(CO_Data* d, const indextable * unsused_indextable, UNS8 unsused_bSubindex) |
66 UNS32 OnMasterMap1Update(CO_Data* d, const indextable * unsused_indextable, UNS8 unsused_bSubindex) |
67 { |
67 { |
68 eprintf("OnSlaveMap1Update:%d\n", SlaveMap1); |
68 eprintf("OnSlaveMap1Update:%d\n", SlaveMap1); |
|
69 return 0; |
69 } |
70 } |
70 |
71 |
71 |
72 |
72 |
73 |
73 void InitNodes(CO_Data* d, UNS32 id) |
74 void InitNodes(CO_Data* d, UNS32 id) |
132 printf("* SDO and PDO. *\n"); |
133 printf("* SDO and PDO. *\n"); |
133 printf("* *\n"); |
134 printf("* *\n"); |
134 printf("* If you have chosen virtual CAN driver, just type *\n"); |
135 printf("* If you have chosen virtual CAN driver, just type *\n"); |
135 printf("* ./TestMasterSlave *\n"); |
136 printf("* ./TestMasterSlave *\n"); |
136 printf("* *\n"); |
137 printf("* *\n"); |
137 printf("* Else you need to sepcify bus: *\n"); |
138 printf("* Else you need to specify bus: *\n"); |
138 printf("* *\n"); |
139 printf("* *\n"); |
139 printf("* -s : slave CAN bus [default 0, peak first PCI] *\n"); |
140 printf("* -s : slave CAN bus [default 0, peak first PCI] *\n"); |
140 printf("* -m : master CAN bus [default 1, peak second PCI] *\n"); |
141 printf("* -m : master CAN bus [default 1, peak second PCI] *\n"); |
141 printf("* *\n"); |
142 printf("* *\n"); |
142 printf("**************************************************************\n"); |
143 printf("**************************************************************\n"); |