Skip to content

Commit 7eb0cc5

Browse files
jefdriesenmikeller
authored andcommitted
Limit the size of the fingerprint to 4 bytes
For the Sirius (and compatible models), the data/time information is only 4 bytes large instead of the default 10 bytes.
1 parent ddbc8b5 commit 7eb0cc5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mares_iconhd.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,10 @@ mares_iconhd_device_open (dc_device_t **out, dc_context_t *context, dc_iostream_
661661
break;
662662
case GENIUS:
663663
case HORIZON:
664+
case PUCKAIR2:
665+
case SIRIUS:
666+
case QUADCI:
667+
case PUCK4:
664668
device->layout = &mares_genius_layout;
665669
device->packetsize = 4096;
666670
device->fingerprint_size = 4;

0 commit comments

Comments
 (0)