mirror of
https://github.com/italicsjenga/usbd-midi.git
synced 2024-12-23 12:21:30 +11:00
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:
parent
d151a05787
commit
fcb988815a
|
@ -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] {
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
mod util;
|
||||
pub mod data;
|
||||
pub mod midi_device;
|
||||
|
||||
|
|
Loading…
Reference in a new issue