Skip to content

Commit

Permalink
added namespace to AppleMIDISettings
Browse files Browse the repository at this point in the history
added namespace to settings
  • Loading branch information
lathoub committed May 1, 2020
1 parent be347bf commit eddc2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppleMIDI.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ END_APPLEMIDI_NAMESPACE

#define APPLEMIDI_CREATE_INSTANCE(Type, Name, SessionName, Port) \
APPLEMIDI_NAMESPACE::AppleMIDISession<Type> Apple##Name(SessionName, Port); \
MIDI_NAMESPACE::MidiInterface<APPLEMIDI_NAMESPACE::AppleMIDISession<Type>, AppleMIDISettings> Name((APPLEMIDI_NAMESPACE::AppleMIDISession<Type>&)Apple##Name);
MIDI_NAMESPACE::MidiInterface<APPLEMIDI_NAMESPACE::AppleMIDISession<Type>, APPLEMIDI_NAMESPACE::AppleMIDISettings> Name((APPLEMIDI_NAMESPACE::AppleMIDISession<Type>&)Apple##Name);

#define APPLEMIDI_CREATE_DEFAULTSESSION_INSTANCE() \
APPLEMIDI_CREATE_INSTANCE(EthernetUDP, MIDI, "Arduino", DEFAULT_CONTROL_PORT);
Expand Down

0 comments on commit eddc2a6

Please sign in to comment.