Skip to content

Commit

Permalink
HID_: Make methods overridden from base-class explicit
Browse files Browse the repository at this point in the history
Done to make it clear that these virtual methods are defined in the PluggableUSBModule base-class.
  • Loading branch information
forderud committed Sep 16, 2024
1 parent 321fca0 commit 640cde8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/HID/src/HID.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class HID_ : public PluggableUSBModule

protected:
// Implementation of the PluggableUSBModule
int getInterface(uint8_t* interfaceCount);
int getDescriptor(USBSetup& setup);
bool setup(USBSetup& setup);
uint8_t getShortName(char* name);
int getInterface(uint8_t* interfaceCount) override;
int getDescriptor(USBSetup& setup) override;
bool setup(USBSetup& setup) override;
uint8_t getShortName(char* name) override;

private:
uint8_t epType[1];
Expand Down

0 comments on commit 640cde8

Please sign in to comment.