Add the Mares Genius to the bluetooth filter
Use the prefix matcher because the bluetooth device name of the Mares Genius appears to contain spaces at the end.
This commit is contained in:
parent
4c91309c56
commit
4bbcb6a8a1
@ -565,10 +565,11 @@ static int dc_filter_mares (dc_transport_t transport, const void *userdata)
|
||||
{
|
||||
static const char * const bluetooth[] = {
|
||||
"Mares bluelink pro",
|
||||
"Mares Genius",
|
||||
};
|
||||
|
||||
if (transport == DC_TRANSPORT_BLE) {
|
||||
return DC_FILTER_INTERNAL (userdata, bluetooth, 0, dc_match_name);
|
||||
return DC_FILTER_INTERNAL (userdata, bluetooth, 0, dc_match_prefix);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user