mirror of
https://github.com/italicsjenga/usbd-midi.git
synced 2024-12-23 12:21:30 +11:00
Cleanup
This commit is contained in:
parent
96f5135427
commit
0223763ed0
|
@ -3,12 +3,7 @@ use crate::data::usb_midi::code_index_number::CodeIndexNumber;
|
||||||
use crate::data::midi::message::Message;
|
use crate::data::midi::message::Message;
|
||||||
use crate::data::byte::u4::U4;
|
use crate::data::byte::u4::U4;
|
||||||
use crate::data::midi::message::raw::{Payload,Raw};
|
use crate::data::midi::message::raw::{Payload,Raw};
|
||||||
use crate::data::byte::u4;
|
|
||||||
use core::convert::TryFrom;
|
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
|
/// A packet that communicates with the host
|
||||||
|
|
|
@ -2,7 +2,6 @@ use usb_device::class_prelude::*;
|
||||||
use usb_device::Result;
|
use usb_device::Result;
|
||||||
use crate::data::usb::constants::*;
|
use crate::data::usb::constants::*;
|
||||||
use crate::data::usb_midi::usb_midi_event_packet::{UsbMidiEventPacket, MidiPacketParsingError};
|
use crate::data::usb_midi::usb_midi_event_packet::{UsbMidiEventPacket, MidiPacketParsingError};
|
||||||
use core::convert::TryFrom;
|
|
||||||
|
|
||||||
const MIDI_IN_SIZE: u8 = 0x06;
|
const MIDI_IN_SIZE: u8 = 0x06;
|
||||||
const MIDI_OUT_SIZE: u8 = 0x09;
|
const MIDI_OUT_SIZE: u8 = 0x09;
|
||||||
|
|
Loading…
Reference in a new issue