forked from mirror/joycontrol
removed break
This commit is contained in:
@@ -54,10 +54,6 @@ if __name__ == '__main__':
|
|||||||
output_reports.append((time - start_time, report))
|
output_reports.append((time - start_time, report))
|
||||||
else:
|
else:
|
||||||
raise ValueError(f'Unexpected data.')
|
raise ValueError(f'Unexpected data.')
|
||||||
|
|
||||||
# only interested in pairing
|
|
||||||
if isinstance(report, OutputReport) and report.get_sub_command() == SubCommand.SET_PLAYER_LIGHTS:
|
|
||||||
break
|
|
||||||
except EOFError:
|
except EOFError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user