Update LeonardoUsbSlaveMidiClockMonitor.ino

Minor spelling corrections
pull/26/head
Jackson-Devices 1 year ago committed by GitHub
parent ccb826eb04
commit 3ccc0632c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      examples/LeonardoUsbSlaveMidiClockMonitor/LeonardoUsbSlaveMidiClockMonitor.ino

@ -130,17 +130,17 @@ void loop() {
if (clock_state != uClock.state) { if (clock_state != uClock.state) {
clock_state = uClock.state; clock_state = uClock.state;
if (clock_state >= 1) { if (clock_state >= 1) {
u8x8->drawUTF8(0, 7, "playing"); u8x8->drawUTF8(0, 7, "Playing");
} else { } else {
u8x8->drawUTF8(0, 7, "stoped "); u8x8->drawUTF8(0, 7, "Stopped");
} }
} }
if (clock_mode != uClock.getMode()) { if (clock_mode != uClock.getMode()) {
clock_mode = uClock.getMode(); clock_mode = uClock.getMode();
if (clock_mode == uClock.EXTERNAL_CLOCK) { if (clock_mode == uClock.EXTERNAL_CLOCK) {
u8x8->drawUTF8(10, 0, "slave "); u8x8->drawUTF8(10, 0, "Slave ");
} else { } else {
u8x8->drawUTF8(10, 0, "master"); u8x8->drawUTF8(10, 0, "Master");
} }
} }
} }

Loading…
Cancel
Save