Minor: Line breaking.

This commit is contained in:
Florian Pose
2012-09-19 22:46:34 +02:00
parent eff96bb8dd
commit 785660d96e

View File

@@ -65,9 +65,11 @@ void ecrt_voe_handler_send_header(ec_voe_handler_t *voe, uint32_t vendor_id,
data.vendor_id = &vendor_id;
data.vendor_type = &vendor_type;
if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_SEND_HEADER, &data) == -1)
if (ioctl(voe->config->master->fd,
EC_IOCTL_VOE_SEND_HEADER, &data) == -1) {
fprintf(stderr, "Failed to set VoE send header: %s\n",
strerror(errno));
}
}
/*****************************************************************************/
@@ -82,9 +84,11 @@ void ecrt_voe_handler_received_header(const ec_voe_handler_t *voe,
data.vendor_id = vendor_id;
data.vendor_type = vendor_type;
if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_REC_HEADER, &data) == -1)
if (ioctl(voe->config->master->fd,
EC_IOCTL_VOE_REC_HEADER, &data) == -1) {
fprintf(stderr, "Failed to get received VoE header: %s\n",
strerror(errno));
}
}
/*****************************************************************************/
@@ -110,9 +114,10 @@ void ecrt_voe_handler_read(ec_voe_handler_t *voe)
data.config_index = voe->config->index;
data.voe_index = voe->index;
if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_READ, &data) == -1)
if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_READ, &data) == -1) {
fprintf(stderr, "Failed to initiate VoE reading: %s\n",
strerror(errno));
}
}
/*****************************************************************************/
@@ -124,9 +129,11 @@ void ecrt_voe_handler_read_nosync(ec_voe_handler_t *voe)
data.config_index = voe->config->index;
data.voe_index = voe->index;
if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_READ_NOSYNC, &data) == -1)
if (ioctl(voe->config->master->fd,
EC_IOCTL_VOE_READ_NOSYNC, &data) == -1) {
fprintf(stderr, "Failed to initiate VoE reading: %s\n",
strerror(errno));
}
}
/*****************************************************************************/
@@ -140,9 +147,10 @@ void ecrt_voe_handler_write(ec_voe_handler_t *voe, size_t size)
data.size = size;
data.data = voe->data;
if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_WRITE, &data) == -1)
if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_WRITE, &data) == -1) {
fprintf(stderr, "Failed to initiate VoE writing: %s\n",
strerror(errno));
}
}
/*****************************************************************************/