Skip to content

Commit 0c98248

Browse files
jefdriesenmikeller
authored andcommitted
Fix the Cressi Nepto filter function
The model number in the bluetooth device name appears to be encoded as a hexadecimal number instead of a decimal number (e.g. a_xxxx vs 10_xxxx for the Nepto).
1 parent 9e46a34 commit 0c98248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/descriptor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ dc_match_cressi (const void *key, const void *value)
612612

613613
char prefix[16] = {0};
614614

615-
dc_platform_snprintf(prefix, sizeof(prefix), "%u_", model);
615+
dc_platform_snprintf(prefix, sizeof(prefix), "%x_", model);
616616

617617
const char *p = prefix;
618618

0 commit comments

Comments
 (0)