summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2023-07-09 00:18:48 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2023-07-10 21:20:13 +0000
commit514d3e3b064def29f25a2a5f7c5447efcab3ccf8 (patch)
treed64a8978f9f692d90ecdbf5bc156ae00c3098be5 /src/main.c
parentcec6695ba5615076f326ce0cd4e5f21fe6341db1 (diff)
downloadqlprint-fixes.tar.gz
qlprint-fixes.tar.xz
qlprint-fixes.zip
ql: optimize USB data flowfixes
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.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions