Commit 3e7a286
committed
pbio/drv/bluetooth: Fix peripheral disconnect if config unset.
The pbdrv_bluetooth_is_connected check should protect against this, but if it fails we get a segfault if config was never set, so if no peripheral was ever connected.1 parent 2e656ff commit 3e7a286
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
191 | 196 | | |
192 | | - | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
| |||
0 commit comments