Skip to content

Commit

Permalink
Display more message history in MIDI-CV module
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed Nov 5, 2024
1 parent 7128df0 commit ba95978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/vcv_ports/RackCore/MIDI_CV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct MIDI_CV : Module {
dsp::PulseGenerator continuePulse;

// METAMODULE
CircularBuffer<midi::Message, 4> msg_history;
CircularBuffer<midi::Message, 8> msg_history;

MIDI_CV() {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
Expand Down Expand Up @@ -486,7 +486,7 @@ struct MIDI_CV : Module {

// METAMODULE
size_t get_display_text(int led_id, std::span<char> text) override {
std::string chars;
std::string chars = "";

for (auto i = 0u; i < msg_history.count(); i++) {
auto msg = msg_history.peek(i);
Expand Down

0 comments on commit ba95978

Please sign in to comment.