Module: xenomai-3 Branch: next Commit: 82b05d1040ce7ba19610203ddb812eb4f607010e URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=82b05d1040ce7ba19610203ddb812eb4f607010e
Author: Jorge Ramirez-Ortiz <[email protected]> Date: Thu Aug 21 15:22:05 2014 -0400 lib/analogy: fix a4l_sync_read wait call --- lib/analogy/sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/analogy/sync.c b/lib/analogy/sync.c index 6dd49f9..fee5fc9 100644 --- a/lib/analogy/sync.c +++ b/lib/analogy/sync.c @@ -211,13 +211,13 @@ int a4l_sync_read(a4l_desc_t * dsc, .type = A4L_INSN_READ, .idx_subd = idx_subd, .chan_desc = chan_desc, - .data_size = 0, + .data_size = nbyte, .data = buf}, { .type = A4L_INSN_WAIT, .idx_subd = idx_subd, .chan_desc = chan_desc, - .data_size = 1, + .data_size = sizeof(unsigned int), .data = NULL} }; _______________________________________________ Xenomai-git mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai-git
