equal
deleted
inserted
replaced
109 strerror(errno)); |
109 strerror(errno)); |
110 } |
110 } |
111 |
111 |
112 /*****************************************************************************/ |
112 /*****************************************************************************/ |
113 |
113 |
|
114 void ecrt_voe_handler_read_nosync(ec_voe_handler_t *voe) |
|
115 { |
|
116 ec_ioctl_voe_t data; |
|
117 |
|
118 data.config_index = voe->config->index; |
|
119 data.voe_index = voe->index; |
|
120 |
|
121 if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_READ_NOSYNC, &data) == -1) |
|
122 fprintf(stderr, "Failed to initiate VoE reading: %s\n", |
|
123 strerror(errno)); |
|
124 } |
|
125 |
|
126 /*****************************************************************************/ |
|
127 |
114 void ecrt_voe_handler_write(ec_voe_handler_t *voe, size_t size) |
128 void ecrt_voe_handler_write(ec_voe_handler_t *voe, size_t size) |
115 { |
129 { |
116 ec_ioctl_voe_t data; |
130 ec_ioctl_voe_t data; |
117 |
131 |
118 data.config_index = voe->config->index; |
132 data.config_index = voe->config->index; |