Skip to content

Commit 06a001d

Browse files
committed
Certified bruh moment
1 parent 44cde87 commit 06a001d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Applications/Note/Note.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,12 @@ void Note::PlayView() {
296296

297297
if(runtimes[0].noteLatch.IsEnabled())
298298
{
299-
MatrixOS::MIDI::Send(MidiPacket::ControlChange(config->untimes[0].channel, 123, 0), MIDI_PORT_ALL); // All notes off
299+
MatrixOS::MIDI::Send(MidiPacket::ControlChange(runtimes[0].config->channel, 123, 0), MIDI_PORT_ALL); // All notes off
300300
}
301301

302302
if(runtimes[1].noteLatch.IsEnabled())
303303
{
304-
MatrixOS::MIDI::Send(MidiPacket::ControlChange(config->untimes[1].channel, 123, 0), MIDI_PORT_ALL); // All notes off
304+
MatrixOS::MIDI::Send(MidiPacket::ControlChange(runtimes[1].config->channel, 123, 0), MIDI_PORT_ALL); // All notes off
305305
}
306306
}
307307

0 commit comments

Comments
 (0)