fix bluetooth on wrong return (#112)

* Update run.sh

* Update config.json
This commit is contained in:
Pascal Vizeli
2017-06-05 23:38:46 +02:00
committed by GitHub
parent f3284d0a01
commit 926d1b92c3
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Bluetooth BCM43xx",
"version": "0.3",
"version": "0.4",
"slug": "bluetooth_bcm43xx",
"description": "Activate bluetooth for bcm43xx",
"url": "https://home-assistant.io/addons/Bluetooth_bcm43xx/",

View File

@@ -4,6 +4,6 @@ set -e
hciattach -n /dev/ttyAMA0 bcm43xx 115200 noflow - &
HCI_PID=$!
hciconfig hci0 up
hciconfig hci0 up || true
wait $HCI_PID