Skip to content

Commit

Permalink
Update components/bluetooth-sink-switch/bt-sink-switch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s-martin authored Feb 4, 2025
1 parent ca42e27 commit 7ac702e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/bluetooth-sink-switch/bt-sink-switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def bt_switch(cmd, led_pin=None): # noqa C901
# Yet, in some cases, a stream error still occurs: check and recover
bt_check_mpc_err()
if led_pin is not None:
proc = subprocess.run(["gpioset", led_pin[0], led_pin[1]+"=1"], shell=False,
proc = subprocess.run(["gpioset", led_pin[0], led_pin[1] + "=1"], shell=False,
check=False, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
logger.debug(b'LED on: ' + proc.stdout)
return
Expand Down

0 comments on commit 7ac702e

Please sign in to comment.