From 45eddcf2dbf95068cfb11aa33ac6170974fc8f28 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Mon, 18 Apr 2016 18:01:10 +0200 Subject: [PATCH] Fixed some warnings in the MIDI driver --- usbh_midi.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usbh_midi.h b/usbh_midi.h index af9b15b7..25436ece 100755 --- a/usbh_midi.h +++ b/usbh_midi.h @@ -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; }; };