oboeru

a collection of simple, scriptable flashcard programs
git clone anongit@rnpnr.xyz:oboeru.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 7bb8a63063fe58abe501b03043cc6a758995d486
Parent: 60283bacf23d72d7c181be37f981e3a3970ad46b
Author: Randy Palamar
Date:   Wed, 11 Aug 2021 09:54:10 -0600

wait time should be 50ms not 500ms

Diffstat:
Moboeru.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oboeru.c b/oboeru.c @@ -225,7 +225,7 @@ review_loop(const char *fifo) char reply[BUF_SIZE]; int fd; size_t i, j, n; - struct timespec wait = { .tv_sec = 0, .tv_nsec = 50 * 10e6 }; + struct timespec wait = { .tv_sec = 0, .tv_nsec = 50e6 }; struct { const char *str; int status; } reply_map[] = { { .str = "pass", .status = CARD_PASS }, { .str = "fail", .status = CARD_FAIL }