Skip to content

Commit

Permalink
Fix Bankable::MIDINoteLED constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Feb 23, 2019
1 parent 12b2da8 commit ee43f15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MIDI_Inputs/LEDs/MIDINoteLED.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ namespace Bankable {
template <uint8_t N>
class MIDINoteLED : public MIDINote<N>, public MIDINoteLED_Base {
public:
MIDINoteLED(const BankConfig<N> &config, pin_t ledPin, uint8_t note,
uint8_t channel = 1)
: MIDINote_Base(note, channel), MIDINote<N>(config, note, channel),
MIDINoteLED(const BankConfig<N> &config, pin_t ledPin,
const MIDICNChannelAddress &address)
: MIDINote_Base(address), MIDINote<N>(config, address),
MIDINoteLED_Base(ledPin) {}
};

Expand Down

0 comments on commit ee43f15

Please sign in to comment.