Commit bf15877
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 bc56500 commit bf15877
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
0 commit comments