Added accessor to settings template arg.

This commit is contained in:
Francois Best 2016-10-04 18:55:27 -07:00
parent 7268429235
commit 993f12ce30
1 changed files with 4 additions and 1 deletions

View File

@ -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 or ak47's Uart classes. The only requirement is that the class implements
the begin, read, write and available methods. the begin, read, write and available methods.
*/ */
template<class SerialPort, class Settings = DefaultSettings> template<class SerialPort, class _Settings = DefaultSettings>
class MidiInterface class MidiInterface
{ {
public:
typedef _Settings Settings;
public: public:
inline MidiInterface(SerialPort& inSerial); inline MidiInterface(SerialPort& inSerial);
inline ~MidiInterface(); inline ~MidiInterface();