diff options
author | XANTRONIX Development | 2022-03-11 16:36:43 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-03-11 16:36:43 -0500 |
commit | cd1473045a30548b10d5873ec825863ddd429674 (patch) | |
tree | 20ecf65614df927e24d34a78c26f519e4f3b5506 | |
parent | 204e2666262247e1c87e27808cac4652e443c5e1 (diff) | |
download | xas-cd1473045a30548b10d5873ec825863ddd429674.tar.gz xas-cd1473045a30548b10d5873ec825863ddd429674.tar.bz2 xas-cd1473045a30548b10d5873ec825863ddd429674.zip |
Good stuff :3
-rw-r--r-- | examples/seq.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/examples/seq.c b/examples/seq.c index 492c53b..76d3cf9 100644 --- a/examples/seq.c +++ b/examples/seq.c @@ -148,6 +148,12 @@ int main(int argc, char **argv) { { { 11, 0 }, 42, 220, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, { { 13, 0 }, 210, 69, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, { { 0, 0 }, 0, 0, XAS_SYNTH_SINE, XAS_SYNTH_SINE } + }, ending[] = { + { { 5, 0 }, 69, 210, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 3, 0 }, 200, 69, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 4, 0 }, 42, 220, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 3, 0 }, 210, 69, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 0, 0 }, 0, 0, XAS_SYNTH_SINE, XAS_SYNTH_SINE } }; struct sequence sequences[] = { @@ -263,10 +269,10 @@ int main(int argc, char **argv) { } if (xas_drone_chamber_seq_intervals(chamber, - sequences[3].intervals, - seq, - 8, - &cur) < 0) { + ending, + seq, + 4, + &cur) < 0) { goto error_seq; } |