From 8f3faf2bb86e090cec99601c06a7beb28d159c6c Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Thu, 14 Apr 2016 23:04:38 +0200 Subject: [PATCH] Fix bug in the MIDI driver when debugging was turned on --- usbh_midi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbh_midi.h b/usbh_midi.h index 0cf380de..41f24b6a 100755 --- a/usbh_midi.h +++ b/usbh_midi.h @@ -61,7 +61,7 @@ protected: void parseConfigDescr(byte addr, byte conf); unsigned int countSysExDataSize(uint8_t *dataptr); -#ifdef DEBUG +#ifdef DEBUG_USB_HOST void PrintEndpointDescriptor( const USB_ENDPOINT_DESCRIPTOR* ep_ptr ); #endif public: