From d0774599441fbd99c7d5c1e11f9a53340a3906d7 Mon Sep 17 00:00:00 2001 From: mrms <16727232+m-r-m-s@users.noreply.github.com> Date: Thu, 11 Aug 2022 14:44:55 -0400 Subject: [PATCH] Update TeensyUsbSlaveMidiClockMonitor.ino update to avoid linter warning --- .../TeensyUsbSlaveMidiClockMonitor.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino b/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino index f1349f3..1032c3a 100644 --- a/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino +++ b/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino @@ -129,7 +129,7 @@ void printBpm(float _bpm, uint8_t col, uint8_t line) { if (b > 99) { u8x8->drawUTF8(col, line, bpm_str); } else { - bpm_str[2] = "\0"; + bpm_str[2] = '\0'; u8x8->drawUTF8(col, line, " "); u8x8->drawUTF8(col+1, line, bpm_str); }