Skip to content

Commit

Permalink
Update BleGamepad.cpp
Browse files Browse the repository at this point in the history
fix previous commit error bleKeyboardInstance --> BleGamepadInstance
  • Loading branch information
lemmingDev authored May 8, 2020
1 parent eba9112 commit ce8cf9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BleGamepad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void BleGamepad::taskServer(void* pvParameter) {
BleGamepadInstance->hid->reportMap((uint8_t*)_hidReportDescriptor, sizeof(_hidReportDescriptor));
BleGamepadInstance->hid->startServices();

bleKeyboardInstance->onStarted(pServer);
BleGamepadInstance->onStarted(pServer);

BLEAdvertising *pAdvertising = pServer->getAdvertising();
pAdvertising->setAppearance(HID_GAMEPAD);
Expand Down

0 comments on commit ce8cf9e

Please sign in to comment.