mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed some warnings in the MIDI driver
This commit is contained in:
parent
4727471c0c
commit
45eddcf2db
1 changed files with 2 additions and 3 deletions
|
@ -45,14 +45,14 @@ protected:
|
|||
static const uint8_t epDataInIndexVSP; // DataIn endpoint index(Vendor Specific Protocl)
|
||||
static const uint8_t epDataOutIndexVSP; // DataOUT endpoint index(Vendor Specific Protocl)
|
||||
|
||||
boolean isMidiFound;
|
||||
|
||||
/* mandatory members */
|
||||
USB *pUsb;
|
||||
uint8_t bAddress;
|
||||
uint8_t bConfNum; // configuration number
|
||||
uint8_t bNumEP; // total number of EP in the configuration
|
||||
bool bPollEnable;
|
||||
|
||||
bool isMidiFound;
|
||||
/* Endpoint data structure */
|
||||
EpInfo epInfo[MIDI_MAX_ENDPOINTS];
|
||||
/* MIDI Event packet buffer */
|
||||
|
@ -79,7 +79,6 @@ public:
|
|||
// USBDeviceConfig implementation
|
||||
virtual uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed);
|
||||
virtual uint8_t Release();
|
||||
virtual uint8_t Poll(){}; //not implemented
|
||||
virtual uint8_t GetAddress() { return bAddress; };
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue