Skip to content

Commit cabee3f

Browse files
authored
Merge pull request #66 from mzero/MIDI-write
allow use of all write() variants
2 parents f62ce45 + 2d13250 commit cabee3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Adafruit_USBD_MIDI.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class Adafruit_USBD_MIDI : public Stream, Adafruit_USBD_Interface {
4646
virtual int peek(void);
4747
virtual void flush(void);
4848

49+
using Stream::write;
50+
4951
// Raw MIDI USB packet interface.
5052
bool send(const uint8_t packet[4]);
5153
bool receive(uint8_t packet[4]);

0 commit comments

Comments
 (0)