diff options
author | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2023-07-09 00:25:25 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2023-07-10 19:57:16 +0000 |
commit | 834780c4c6512e054c6f7c78b647dc7919cbcab6 (patch) | |
tree | ec4117a728e9a490589241c58e092c7443bf8a56 /src/main.c | |
parent | e8ea33f5c777874b25b858df3ef61ca7ebed60ff (diff) | |
download | qlprint-834780c4c6512e054c6f7c78b647dc7919cbcab6.tar.gz qlprint-834780c4c6512e054c6f7c78b647dc7919cbcab6.tar.xz qlprint-834780c4c6512e054c6f7c78b647dc7919cbcab6.zip |
fix silly usleep(50)
Increase sleep from 50 μs to 5 ms.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ for(int i = 0; i < img->height; ++i) if (!ql_read_status(ctx, &status)) { if (!timed_out) // try again, soon { - usleep(50); + usleep(5000); continue; } fprintf(stderr, "Printer stopped responding!\n"); |