Compare commits

..

No commits in common. "f8179494b6d3eea84cccf4e2c98ffeb880da20d8" and "c3f20ee473af00c8e9fe83e5cee550a46c7cae38" have entirely different histories.

3 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.10) cmake_minimum_required (VERSION 3.10)
project (usb-drivers VERSION 1.0.0 project (usb-drivers VERSION 0.1.0
DESCRIPTION "User space USB drivers" LANGUAGES C) DESCRIPTION "User space USB drivers" LANGUAGES C)
# Moar warnings # Moar warnings

View File

@ -49,12 +49,10 @@ due to protocol changes, although I don't really deem it very probable.
Packages Packages
-------- --------
Regular releases are sporadic. git master should be stable enough. Regular releases are sporadic. git master should be stable enough.
You can get a package with the latest development version You can get a package with the latest development version
as a https://git.janouch.name/p/nixexprs[Nix derivation]. as a https://git.janouch.name/p/nixexprs[Nix derivation].
Windows binaries can be downloaded from
https://git.janouch.name/p/usb-drivers/releases[the Releases page on Gitea].
Building Building
-------- --------
Build dependencies: Build dependencies:

View File

@ -950,7 +950,7 @@ eizo_watch(struct eizo_monitor *m)
continue; continue;
} }
if (r->report_size == 16) if (r->report_size == 16)
for (size_t i = 0; i + 1 < rlen; i += 2) for (size_t i = 0; i < rlen; i += 2)
printf(" %04x", peek_u16le(&buf[7 + i])); printf(" %04x", peek_u16le(&buf[7 + i]));
else else
for (size_t i = 0; i < rlen; i++) for (size_t i = 0; i < rlen; i++)