Skip to content

Commit

Permalink
fix usb midi
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Feb 10, 2025
1 parent f0695db commit 6bc415f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hvcc/generators/c2daisy/templates/HeavyDaisy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ static void sendHook(HeavyContextInterface *c, const char *receiverName, uint32_
static void printHook(HeavyContextInterface *c, const char *printLabel, const char *msgString, const HvMessage *m);
/** FIFO to hold messages as we're ready to print them */
FIFO<FixedCapStr<64>, 64> event_log;
{% elif (has_midi is sameas true) or (usb_midi is sameas true) %}
FIFO<uint8_t, MIDI_OUT_FIFO_SIZE> midi_tx_fifo;
{% elif usb_midi is sameas true %}
daisy::MidiUsbHandler midiusb;
{% endif %}
{% if (has_midi is sameas true) or (usb_midi is sameas true) %}
FIFO<uint8_t, MIDI_OUT_FIFO_SIZE> midi_tx_fifo;
{% endif %}
// int midiOutCount;
// uint8_t* midiOutData;
void CallbackWriteIn(Heavy_{{patch_name}}* hv);
Expand Down

0 comments on commit 6bc415f

Please sign in to comment.