forked from speedie/spmenu
Some small changes to update FIFO
This commit is contained in:
parent
bd455c2673
commit
fa9130ef0b
|
@ -29,12 +29,16 @@ void execute_fifo_cmd(void) {
|
|||
* by outputting text to the FIFO.
|
||||
*/
|
||||
if (!strcmp(fifot, "drawmenu")) {
|
||||
if (!sp.isdrawing) {
|
||||
drawmenu();
|
||||
}
|
||||
} else if (!strcmp(fifot, "match")) {
|
||||
match();
|
||||
} else if (!strcmp(fifot, "update")) {
|
||||
if (!sp.isdrawing) {
|
||||
match();
|
||||
drawmenu();
|
||||
}
|
||||
} else if (!strcmp(fifot, "test")) {
|
||||
fprintf(stderr, "Test print\n");
|
||||
} else if (!strcmp(fifot, "die")) {
|
||||
|
|
Loading…
Reference in a new issue