Skip to content

Commit

Permalink
MidiMessage default ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed Nov 18, 2022
2 parents 2e8b6f1 + d3d7b47 commit 6c3b6f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/usb_midi_audio_host/midi_message.hh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ struct MidiMessage {
MidiStatusByte status;
MidiDataBytes data;

MidiMessage() = default;

MidiMessage(uint8_t status_byte, uint8_t data_byte0 = 0, uint8_t data_byte1 = 0)
: status{MidiStatusByte::make(status_byte)}
, data{data_byte0, data_byte1}
Expand Down

0 comments on commit 6c3b6f3

Please sign in to comment.