diff options
author | Bad Diode <bd@badd10de.dev> | 2024-01-06 16:35:53 +0100 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-01-06 16:35:53 +0100 |
commit | fcef6e404587accd09439739a7e660f1d94069a1 (patch) | |
tree | fe48b5a60f41374ac9f7a2368c3ebaf74658e472 /src/drawing.c | |
parent | a5f47ed59a29486c7ad3ee60811c5928862b24f8 (diff) | |
download | stepper-fcef6e404587accd09439739a7e660f1d94069a1.tar.gz stepper-fcef6e404587accd09439739a7e660f1d94069a1.zip |
Add more sync in options
Diffstat (limited to 'src/drawing.c')
-rw-r--r-- | src/drawing.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drawing.c b/src/drawing.c index 8226d62..048b4de 100644 --- a/src/drawing.c +++ b/src/drawing.c | |||
@@ -418,7 +418,11 @@ draw_bpm() { | |||
418 | draw_rect(x, y, x + R_COL_W - 2, y + BPM_H - 3, COL_FG); | 418 | draw_rect(x, y, x + R_COL_W - 2, y + BPM_H - 3, COL_FG); |
419 | txt_drawf_small("BPM", x + 7, y - 10, COL_FG); | 419 | txt_drawf_small("BPM", x + 7, y - 10, COL_FG); |
420 | 420 | ||
421 | if (settings.sync == SYNC_IN_LINK) { | 421 | if (settings.sync == SYNC_IN_LINK_96BPQ || |
422 | settings.sync == SYNC_IN_LINK_48BPQ || | ||
423 | settings.sync == SYNC_IN_LINK_24BPQ || | ||
424 | settings.sync == SYNC_IN_LINK_12BPQ || | ||
425 | settings.sync == SYNC_IN_LINK_4BPQ) { | ||
422 | txt_drawf("SYNC", x + 2, y + 2, COL_FG); | 426 | txt_drawf("SYNC", x + 2, y + 2, COL_FG); |
423 | } else { | 427 | } else { |
424 | // Make sure its horizontally centered if only 2 digits | 428 | // Make sure its horizontally centered if only 2 digits |