lib/voe_handler.c
changeset 1963 6aaf77798445
parent 1959 656f114153c2
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
equal deleted inserted replaced
1962:df9b00bda8dc 1963:6aaf77798445
    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)