Skip to content

Commit

Permalink
Software: fixed bug with getting incorrect FW versions which might oc…
Browse files Browse the repository at this point in the history
…cur on Linux/hidraw builds due to getting version from opened USB HID device info, instead of new info handle. Also, warning on unsupported old-alg by FW ver now appears only if -o option was selected.
  • Loading branch information
N-Storm committed Jun 24, 2024
1 parent 6cb05c5 commit c465773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/src/digilivolo.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int main(int argc, char* argv[])
}
}

if (dl_dev->release_number < 0x200) {
if (arguments.old_alg && info->release_number < 0x200) {
arguments.old_alg = false;
if (arguments.verbose) {
printf("WARN: Device firmware version doesn't supports old-alg feature. Using default, which should be old algorithm anyways.\n");
Expand Down

0 comments on commit c465773

Please sign in to comment.