diff --git a/BleMouse.cpp b/BleMouse.cpp index 4d34c5c..113a57d 100644 --- a/BleMouse.cpp +++ b/BleMouse.cpp @@ -161,7 +161,7 @@ void BleMouse::taskServer(void* pvParameter) { bleMouseInstance->hid->reportMap((uint8_t*)_hidReportDescriptor, sizeof(_hidReportDescriptor)); bleMouseInstance->hid->startServices(); - bleKeyboardInstance->onStarted(pServer); + bleMouseInstance->onStarted(pServer); BLEAdvertising *pAdvertising = pServer->getAdvertising(); pAdvertising->setAppearance(HID_MOUSE);