Skip to content

Commit

Permalink
Fix consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Feb 28, 2023
1 parent b9c4559 commit 95971f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions chroma_feedback/consumer/gigabyte/rgb_fusion2/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ def process_devices(devices : Any, producer_report : List[ProducerReport]) -> Li
status : Status = reporter.resolve_report_status(producer_report)

for device in devices:
with device.connect():
set_device(device, color.get_by_status(status))
register_reset_device(device)
result.append(
{
'name': 'gigabyte.rgb_fusion2',
'type': 'device',
'description': device.description,
'status': status
})
device.connect()
set_device(device, color.get_by_status(status))
register_reset_device(device)
result.append(
{
'name': 'gigabyte.rgb_fusion2',
'type': 'device',
'description': device.description,
'status': status
})
return result


Expand Down
2 changes: 1 addition & 1 deletion chroma_feedback/consumer/kuando/busylight_omega/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_api() -> Any:
def api_factory() -> Any:
try:
from busylight.lights import NoLightsFound, LightUnavailable
from busylight.lights.kuando import Busylight_Alpha as api
from busylight.lights.kuando import Busylight_Omega as api

try:
api.first_light().release()
Expand Down

0 comments on commit 95971f8

Please sign in to comment.