Fix TIunA export sync command

This commit is contained in:
Natt Akuma 2024-06-24 22:50:17 +07:00
parent 2877d488ca
commit 59b28cf4a5

View file

@ -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) {