From ba95978e0f88cb7890cea4a603238efc527951e8 Mon Sep 17 00:00:00 2001 From: Dan Green Date: Mon, 4 Nov 2024 16:23:04 -0800 Subject: [PATCH] Display more message history in MIDI-CV module --- firmware/vcv_ports/RackCore/MIDI_CV.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/vcv_ports/RackCore/MIDI_CV.cpp b/firmware/vcv_ports/RackCore/MIDI_CV.cpp index 5c1409c42..73bfe4214 100644 --- a/firmware/vcv_ports/RackCore/MIDI_CV.cpp +++ b/firmware/vcv_ports/RackCore/MIDI_CV.cpp @@ -68,7 +68,7 @@ struct MIDI_CV : Module { dsp::PulseGenerator continuePulse; // METAMODULE - CircularBuffer msg_history; + CircularBuffer msg_history; MIDI_CV() { config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); @@ -486,7 +486,7 @@ struct MIDI_CV : Module { // METAMODULE size_t get_display_text(int led_id, std::span text) override { - std::string chars; + std::string chars = ""; for (auto i = 0u; i < msg_history.count(); i++) { auto msg = msg_history.peek(i);