piggz / droid-config-mido

8 stars 3 forks source link

Infinite loop while waiting for bluetooth #6

Open Tofee opened 5 years ago

Tofee commented 5 years ago

It's just a minor script mistake (without consequence most of the time), but here:

https://github.com/piggz/droid-config-mido/blob/86cb6c56ae94e855de5dcda43eb6600a2bd677d4/sparse/usr/bin/droid/droid-hcismd-up.sh#L14

you never increase $i...

I spotted that while adapting your script for tissot (Xiaomi A1), and we now have BT there with LuneOS :)