From a6a3cae0e259962c12e157a13befd386f61bd92f Mon Sep 17 00:00:00 2001 From: midilab Date: Mon, 26 Sep 2022 11:58:48 -0400 Subject: [PATCH] example fix buffer size for midi monitor --- .../LeonardoUsbSlaveMidiClockMonitor.ino | 2 +- .../TeensyUsbSlaveMidiClockMonitor.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/LeonardoUsbSlaveMidiClockMonitor/LeonardoUsbSlaveMidiClockMonitor.ino b/examples/LeonardoUsbSlaveMidiClockMonitor/LeonardoUsbSlaveMidiClockMonitor.ino index 2a703cb..cda6b6a 100644 --- a/examples/LeonardoUsbSlaveMidiClockMonitor/LeonardoUsbSlaveMidiClockMonitor.ino +++ b/examples/LeonardoUsbSlaveMidiClockMonitor/LeonardoUsbSlaveMidiClockMonitor.ino @@ -28,7 +28,7 @@ U8X8 * u8x8; #define MIDI_START 0xFA #define MIDI_STOP 0xFC -char bpm_str[4]; +char bpm_str[8]; float bpm = 126.0; uint8_t bpm_blink_timer = 1; uint8_t clock_state = 1; diff --git a/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino b/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino index 37e249e..74f18d7 100644 --- a/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino +++ b/examples/TeensyUsbSlaveMidiClockMonitor/TeensyUsbSlaveMidiClockMonitor.ino @@ -29,7 +29,7 @@ IntervalTimer teensyTimer; #define MIDI_START 0xFA #define MIDI_STOP 0xFC -char bpm_str[4]; +char bpm_str[8]; float bpm = 126; uint8_t bpm_blink_timer = 1; uint8_t clock_state = 1;