Skip to content

Commit

Permalink
Update BleMouse.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dvv authored Apr 26, 2020
1 parent 7144f0e commit 56c8ac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BleMouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ void BleMouse::taskServer(void* pvParameter) {
bleMouseInstance->hid->reportMap((uint8_t*)_hidReportDescriptor, sizeof(_hidReportDescriptor));
bleMouseInstance->hid->startServices();

bleKeyboardInstance->onStarted(pServer);

BLEAdvertising *pAdvertising = pServer->getAdvertising();
pAdvertising->setAppearance(HID_MOUSE);
pAdvertising->addServiceUUID(bleMouseInstance->hid->hidService()->getUUID());
Expand Down

0 comments on commit 56c8ac4

Please sign in to comment.