Update TeensyUsbSlaveMidiClockMonitor.ino

update to avoid linter warning
pull/15/head
mrms 2 years ago committed by GitHub
parent b4b1b6a27a
commit d077459944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino

@ -129,7 +129,7 @@ void printBpm(float _bpm, uint8_t col, uint8_t line) {
if (b > 99) { if (b > 99) {
u8x8->drawUTF8(col, line, bpm_str); u8x8->drawUTF8(col, line, bpm_str);
} else { } else {
bpm_str[2] = "\0"; bpm_str[2] = '\0';
u8x8->drawUTF8(col, line, " "); u8x8->drawUTF8(col, line, " ");
u8x8->drawUTF8(col+1, line, bpm_str); u8x8->drawUTF8(col+1, line, bpm_str);
} }

Loading…
Cancel
Save