refactor AdaCallback

remove BLEAdvertising stop_callback_t
This commit is contained in:
hathach committed 2017-09-15 02:15:59 +07:00
1 parent 8a175aa815
commit da4125c910
4 files changed
+2 -9

No files matched your search

@@ -393,7 +393,7 @@ void BLEAdvertising::_eventHandler(ble_evt_t* evt)
Bluefruit._stopConnLed(); // stop blinking
// invoke stop callback
if (_stop_cb) ada_callback(NULL, _stop_cb);
if (_stop_cb) ada_callback_defer(NULL, _stop_cb);
}
}
}