diff --git a/src/data/usb_midi/usb_midi_event_packet.rs b/src/data/usb_midi/usb_midi_event_packet.rs index 815632f..a3cd807 100644 --- a/src/data/usb_midi/usb_midi_event_packet.rs +++ b/src/data/usb_midi/usb_midi_event_packet.rs @@ -3,12 +3,7 @@ use crate::data::usb_midi::code_index_number::CodeIndexNumber; use crate::data::midi::message::Message; use crate::data::byte::u4::U4; use crate::data::midi::message::raw::{Payload,Raw}; -use crate::data::byte::u4; use core::convert::TryFrom; -use crate::data::midi::channel::Channel::Channel1; -use crate::data::midi::notes::Note::C7; -use crate::data::byte::u7::U7; -use crate::data::byte::from_traits::FromClamped; /// A packet that communicates with the host diff --git a/src/midi_device.rs b/src/midi_device.rs index 00dcea4..44d7536 100644 --- a/src/midi_device.rs +++ b/src/midi_device.rs @@ -2,7 +2,6 @@ use usb_device::class_prelude::*; use usb_device::Result; use crate::data::usb::constants::*; use crate::data::usb_midi::usb_midi_event_packet::{UsbMidiEventPacket, MidiPacketParsingError}; -use core::convert::TryFrom; const MIDI_IN_SIZE: u8 = 0x06; const MIDI_OUT_SIZE: u8 = 0x09;