diff --git a/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.cpp b/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.cpp index 69fbd66bae..15277220e2 100644 --- a/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.cpp +++ b/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.cpp @@ -68,7 +68,7 @@ void BootKeyboard_::setReportDescriptor(uint8_t bootkb_only) { } } -int BootKeyboard_::SendReport(const void *data, int len) { +int BootKeyboard_::SendHIDReport(const void *data, int len) { int returnCode = HIDD::SendReport(0, data, len); HIDReportObserver::observeReport(HID_REPORTID_KEYBOARD, data, len, returnCode); } diff --git a/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.h b/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.h index 9d9ae383eb..8ccd780186 100644 --- a/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.h +++ b/plugins/KeyboardioHID/src/BootKeyboard/BootKeyboard.h @@ -48,7 +48,7 @@ class BootKeyboard_ : public HIDD, public BootKeyboardAPI { } protected: - int SendReport(const void *data, int len) override; + int SendHIDReport(const void *data, int len) override; void setReportDescriptor(uint8_t bootkb_only) override; }; extern BootKeyboard_ &BootKeyboard(); diff --git a/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.h b/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.h index bcf742d8fd..d2b1a835de 100644 --- a/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.h +++ b/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.h @@ -202,7 +202,7 @@ class BootKeyboardAPI { virtual void onUSBReset() = 0; protected: - virtual int SendReport(const void *data, int len) = 0; + virtual int SendHIDReport(const void *data, int len) = 0; virtual void setReportDescriptor(uint8_t bootkb_only) = 0; virtual uint8_t getProtocol() = 0; diff --git a/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.hpp b/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.hpp index 53a41fcab6..4b67d120b9 100644 --- a/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.hpp +++ b/src/kaleidoscope/driver/hid/apis/BootKeyboardAPI.hpp @@ -101,7 +101,7 @@ int BootKeyboardAPI::sendReportUnchecked() { } else { reportlen = sizeof(out_report); } - int returnCode = SendReport(&out_report, reportlen); + int returnCode = SendHIDReport(&out_report, reportlen); return returnCode; }