Makes the usbmidi packet public

This can be open as any modification
will still leave the struct in a good state
:
This commit is contained in:
beau trepp 2019-12-26 10:30:55 +08:00
parent d151a05787
commit fcb988815a
2 changed files with 2 additions and 3 deletions

View file

@ -8,8 +8,8 @@ use crate::data::midi::message::raw::{Payload,Raw};
/// Currently supported is sending the specified normal midi
/// message over the supplied cable number
pub struct UsbMidiEventPacket {
cable_number : CableNumber,
message: Message
pub cable_number : CableNumber,
pub message: Message
}
impl From<UsbMidiEventPacket> for [u8;4] {

View file

@ -3,4 +3,3 @@
mod util;
pub mod data;
pub mod midi_device;