update
This commit is contained in:
1 parent
14ad651f01
commit
a9fe0df1f2
1 file changed
+1
-1
@@ -18,7 +18,7 @@ int task_add_run( void * task ) {
|
|||||||
data_channel_read(config->sources[0], &a.word);
|
data_channel_read(config->sources[0], &a.word);
|
||||||
data_channel_read(config->sources[1], &b.word);
|
data_channel_read(config->sources[1], &b.word);
|
||||||
|
|
||||||
c.word = a.value + b.value;
|
c.value = a.value + b.value;
|
||||||
|
|
||||||
data_channel_write(config->sink, c.word);
|
data_channel_write(config->sink, c.word);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user