equal
deleted
inserted
replaced
88 eprintf("TestSlave_post_TPDO\n"); |
88 eprintf("TestSlave_post_TPDO\n"); |
89 |
89 |
90 /* send an error and recover inmediately every 12 cycles */ |
90 /* send an error and recover inmediately every 12 cycles */ |
91 if(SlaveMap13 % 12 == 0) |
91 if(SlaveMap13 % 12 == 0) |
92 { |
92 { |
93 EMCY_setError(&TestSlave_Data, 0x4200, 0x08); |
93 EMCY_setError(&TestSlave_Data, 0x4200, 0x08, 0x0000); |
94 EMCY_errorRecovered(&TestSlave_Data, 0x4200); |
94 EMCY_errorRecovered(&TestSlave_Data, 0x4200); |
95 } |
95 } |
96 } |
96 } |
97 |
97 |
98 void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex) |
98 void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex) |