Fix TIunA export sync command
This commit is contained in:
parent
2877d488ca
commit
59b28cf4a5
|
@ -85,7 +85,7 @@ static void writeCmd(std::vector<TiunaBytes>& cmds, TiunaCmd& cmd, unsigned char
|
||||||
nbuf.ch=ch;
|
nbuf.ch=ch;
|
||||||
nbuf.ticks=val;
|
nbuf.ticks=val;
|
||||||
if (cmd.sync>=0) {
|
if (cmd.sync>=0) {
|
||||||
nbuf.buf[nlen++]=0b00111100;
|
nbuf.buf[nlen++]=0b00111110;
|
||||||
nbuf.buf[nlen++]=cmd.sync;
|
nbuf.buf[nlen++]=cmd.sync;
|
||||||
}
|
}
|
||||||
if (cmd.wait>=17) {
|
if (cmd.wait>=17) {
|
||||||
|
|
Loading…
Reference in a new issue