Skip to content

Commit

Permalink
Update BleKeyboard.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterHindes authored Nov 11, 2022
1 parent f8dd485 commit 28dcef8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BleKeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ void BleKeyboard::set_version(uint16_t version) {
this->version = version;
}

void BleKeyboard::sendReport(KeyReport* keys)
void BleKeyboard::sendReport(BLEKeyReport* keys)
{
if (this->isConnected())
{
this->inputKeyboard->setValue((uint8_t*)keys, sizeof(KeyReport));
this->inputKeyboard->setValue((uint8_t*)keys, sizeof(BLEKeyReport));
this->inputKeyboard->notify();
#if defined(USE_NIMBLE)
// vTaskDelay(delayTicks);
Expand Down Expand Up @@ -543,4 +543,4 @@ void BleKeyboard::delay_ms(uint64_t ms) {
}
while(esp_timer_get_time() < e) {}
}
}
}

0 comments on commit 28dcef8

Please sign in to comment.