From 993f12ce304c966735e29a22a81c97f6c7cddc27 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Tue, 4 Oct 2016 18:55:27 -0700 Subject: [PATCH] Added accessor to settings template arg. --- src/MIDI.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/MIDI.h b/src/MIDI.h index 272e6b4..773ebb9 100644 --- a/src/MIDI.h +++ b/src/MIDI.h @@ -42,9 +42,12 @@ the hardware interface, meaning you can use HardwareSerial, SoftwareSerial or ak47's Uart classes. The only requirement is that the class implements the begin, read, write and available methods. */ -template +template class MidiInterface { +public: + typedef _Settings Settings; + public: inline MidiInterface(SerialPort& inSerial); inline ~MidiInterface();