Commit d5bce04
Jira 858, Can't trigger BLEConnected, BLEDisconnected events, git 445
Root casue:
- The callback regiter before the begin and the begin
reset the callback.
Code mods:
1. BLEPeripheral.cpp:
- Remove clearing of callback register array at begin(). The
array is cleared upon system initialization.1 parent 057b9a1 commit d5bce04
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
| |||
0 commit comments