From 3c6920e9498a6edd3f23c074e364117a6f4ca376 Mon Sep 17 00:00:00 2001 From: Lauszus Date: Fri, 7 Jan 2022 09:37:56 +0000 Subject: [PATCH] deploy: 9184254b87b2c65378ba83d653457a48c01d5396 --- usbh__midi_8cpp_source.html | 4 ++-- usbh__midi_8h.html | 4 ++-- usbh__midi_8h_source.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usbh__midi_8cpp_source.html b/usbh__midi_8cpp_source.html index 7d386e25..a1cd3944 100644 --- a/usbh__midi_8cpp_source.html +++ b/usbh__midi_8cpp_source.html @@ -69,7 +69,7 @@ $(function() { Go to the documentation of this file.
1 /*
2  *******************************************************************************
3  * USB-MIDI class driver for USB Host Shield 2.0 Library
-
4  * Copyright (c) 2012-2021 Yuuichi Akagawa
+
4  * Copyright (c) 2012-2022 Yuuichi Akagawa
5  *
6  * Idea from LPK25 USB-MIDI to Serial MIDI converter
7  * by Collin Cunningham - makezine.com, narbotic.com
@@ -421,7 +421,7 @@ $(function() {
359  *(outBuf++) = recvBuf[readPtr++];
360  *(outBuf++) = recvBuf[readPtr++];
361 
-
362  return getMsgSizeFromCin(cin);
+
362  return getMsgSizeFromCin(cin & 0x0f);
363 }
364 
365 /* Send data to MIDI device */
diff --git a/usbh__midi_8h.html b/usbh__midi_8h.html index 781a7901..ccab698c 100644 --- a/usbh__midi_8h.html +++ b/usbh__midi_8h.html @@ -109,7 +109,7 @@ Namespaces - + @@ -135,7 +135,7 @@ Variables

Macros

#define USBH_MIDI_VERSION   600
#define USBH_MIDI_VERSION   601
 
#define MIDI_MAX_ENDPOINTS   3
 
- +
#define USBH_MIDI_VERSION   600#define USBH_MIDI_VERSION   601
diff --git a/usbh__midi_8h_source.html b/usbh__midi_8h_source.html index 5fad3045..04814d0e 100644 --- a/usbh__midi_8h_source.html +++ b/usbh__midi_8h_source.html @@ -69,7 +69,7 @@ $(function() { Go to the documentation of this file.
1 /*
2  *******************************************************************************
3  * USB-MIDI class driver for USB Host Shield 2.0 Library
-
4  * Copyright (c) 2012-2021 Yuuichi Akagawa
+
4  * Copyright (c) 2012-2022 Yuuichi Akagawa
5  *
6  * Idea from LPK25 USB-MIDI to Serial MIDI converter
7  * by Collin Cunningham - makezine.com, narbotic.com
@@ -96,7 +96,7 @@ $(function() {
28 #define _USBH_MIDI_H_
29 #include "Usb.h"
30 
-
31 #define USBH_MIDI_VERSION 600
+
31 #define USBH_MIDI_VERSION 601
32 #define MIDI_MAX_ENDPOINTS 3 //endpoint 0, bulk_IN(MIDI), bulk_OUT(MIDI)
33 #define USB_SUBCLASS_MIDISTREAMING 3
34 #define MIDI_EVENT_PACKET_SIZE 64