receiver: don't check features when device is not online

This commit is contained in:
Peter F. Patel-Schneider 2020-02-21 22:32:43 -05:00
parent ea2c22c015
commit 789f5f05c3
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ del _SETTINGS_LIST
def check_feature_settings(device, already_known):
"""Try to auto-detect device settings by the HID++ 2.0 features they have."""
if device.features is None:
if device.features is None or not device.online:
return
if device.protocol and device.protocol < 2.0:
return