Skip to content

Commit a67a87a

Browse files
committed
Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
2 parents d9356f5 + 59f40dd commit a67a87a

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

tools/midi_tests/rx_arduino/rx_arduino.ino

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ void setup()
4646

4747
// Advertise device name in the Scan Response
4848
Bluefruit.ScanResponse.addName();
49-
49+
5050
// Start Advertising
5151
Bluefruit.Advertising.start();
52-
52+
5353
}
5454

5555
void handleNoteOn(byte channel, byte pitch, byte velocity)
@@ -66,14 +66,7 @@ void handleNoteOff(byte channel, byte pitch, byte velocity)
6666
Serial.println(off_count, DEC);
6767
}
6868

69-
void loop() {
70-
71-
if(Serial.available()) {
72-
Serial.read();
73-
off_count = 0;
74-
on_count = 0;
75-
Serial.println("Test reset.");
76-
}
77-
69+
void loop()
70+
{
7871
MIDI.read();
7972
}

0 commit comments

Comments
 (0)