mirror of
https://github.com/italicsjenga/usbd-midi.git
synced 2025-01-27 19:46:35 +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
2 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue