summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-07-10ql: optimize USB data flowfixesAsbjørn Sloth Tønnesen
Write column data into a buffer, and only write to USB once the buffer is filled past threshould. This reduces the amount of data frames on the USB bus, in a 429x336 sample image it was reduced from 1000 frames to about 100 frames, where the image data is only 20 frames, while the rest is mainly polling for status reponses.
2023-07-10ql: refactor full_write to take ctxAsbjørn Sloth Tønnesen
Access to ctx is needed for the next patch
2023-07-10ql: rewrite to non-blocking I/OAsbjørn Sloth Tønnesen
2023-07-10fix silly usleep(50)Asbjørn Sloth Tønnesen
Increase sleep from 50 μs to 5 ms.
2023-07-10fix coding styleAsbjørn Sloth Tønnesen
2023-07-10add `make fixstyle`Asbjørn Sloth Tønnesen
2023-07-10Makefile: fix undefined referencesAsbjørn Sloth Tønnesen
Compiling gives the following error, since the library is specified before the local objects: $ make […] cc -lpng16 build/main.o build/ql.o build/loadpng.o -o build/qlprint /usr/bin/ld: build/loadpng.o: in function `loadpng': …/src/loadpng.c:30: undefined reference to `png_sig_cmp' /usr/bin/ld: …/src/loadpng.c:35: undefined reference to `png_create_read_struct' /usr/bin/ld: …/src/loadpng.c:39: undefined reference to `png_create_info_struct' /usr/bin/ld: …/src/loadpng.c:43: undefined reference to `png_create_info_struct' […] collect2: error: ld returned 1 exit status make: *** [Makefile:28: build/qlprint] Error 1 After reordering: $ make […] cc build/main.o build/ql.o build/loadpng.o -lpng16 -o build/qlprint
2017-05-31Added support for variable timeout.Johny Mattsson
2017-05-31Fix wrong dimension check (whoops).Johny Mattsson
2017-05-31Only request necessary transforms.Johny Mattsson
2017-05-30Initial import.Johny Mattsson
2017-05-30Initial commitJohny Mattsson