Commit 10af94a
committed
pbio/drv/bluetooth_cc2640: Fix failed read not raising.
When pairing with an Xbox Controller, reading a specific characteristic will fail if the controller was never paired. This is our way to find out.
But the error was not raised, so it would wait indefinitely on the next discover command that would not complete.1 parent 352bb8f commit 10af94a
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
724 | | - | |
| 724 | + | |
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
| |||
0 commit comments