equal
deleted
inserted
replaced
42 |
42 |
43 #include "voe_handler.h" |
43 #include "voe_handler.h" |
44 #include "slave_config.h" |
44 #include "slave_config.h" |
45 #include "master.h" |
45 #include "master.h" |
46 #include "master/ioctl.h" |
46 #include "master/ioctl.h" |
|
47 |
|
48 /*****************************************************************************/ |
|
49 |
|
50 void ec_voe_handler_clear(ec_voe_handler_t *voe) |
|
51 { |
|
52 if (voe->data) |
|
53 free(voe->data); |
|
54 } |
47 |
55 |
48 /*****************************************************************************/ |
56 /*****************************************************************************/ |
49 |
57 |
50 void ecrt_voe_handler_send_header(ec_voe_handler_t *voe, uint32_t vendor_id, |
58 void ecrt_voe_handler_send_header(ec_voe_handler_t *voe, uint32_t vendor_id, |
51 uint16_t vendor_type) |
59 uint16_t vendor_type) |