Skip to content

Commit

Permalink
Fixed the Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyCoolSlug committed Mar 28, 2024
1 parent 55d30b8 commit db9b07a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions usb/src/device/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::device::base::AttachGoXLR;
use crate::device::base::FullGoXLRDevice;
use crate::device::base::GoXLRDevice;
use crate::device::libusb::device::get_interface_version;
use anyhow::Result;
use goxlr_types::{DriverInterface, VersionNumber};
use tokio::sync::mpsc::Sender;
Expand All @@ -15,7 +14,7 @@ cfg_if::cfg_if! {
use crate::device::tusb::device;

pub fn get_version() -> (DriverInterface, VersionNumber) {
get_interface_version()
device::get_interface_version()
}

pub fn find_devices() -> Vec<GoXLRDevice> {
Expand All @@ -36,7 +35,7 @@ cfg_if::cfg_if! {
use crate::device::libusb::device;

pub fn get_version() -> (DriverInterface, VersionNumber) {
get_interface_version()
device::get_interface_version()
}

pub fn find_devices() -> Vec<GoXLRDevice> {
Expand Down

0 comments on commit db9b07a

Please sign in to comment.