Skip to content

Commit f7aeb39

Browse files
committed
Fixed channels inverted on display
1 parent e64b287 commit f7aeb39

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ void displayCurrentNote(int channel, unsigned int note){
124124
if(channel >= CHANNEL_COUNT)
125125
return;
126126

127-
notePerChannel[channel] = note;
128-
127+
notePerChannel[CHANNEL_COUNT-1-channel] = note;
129128

130129
for(int i = 0 ; i < CHANNEL_COUNT ; i++){
131130
cout << textPerChannel[i];

0 commit comments

Comments
 (0)