summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-08-03 16:18:36 +0300
committerYuval Adam <_@yuv.al>2018-08-03 16:18:36 +0300
commit66a288ca16b3490557d3d0f0357c21e28d9f3203 (patch)
treecc04ff270c48f444bce15e2820fab7baee5ba836 /src/devices
parent9fe4d1ccf6e8d5edabb76cf4b95b0adf4ca4dd3b (diff)
Disable multi dongle support for now
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/fc0013.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/fc0013.rs b/src/devices/fc0013.rs
index 028c36b..d2f6062 100644
--- a/src/devices/fc0013.rs
+++ b/src/devices/fc0013.rs
@@ -1,9 +1,12 @@
use super::{DeviceInfo, Device};
+use usb::Usb;
+#[allow(dead_code)]
pub struct FC0013 {
pub device: DeviceInfo
}
+#[allow(dead_code)]
pub const DEVICE_INFO: DeviceInfo = DeviceInfo {
id: "fc0013",
name: "Fitipower FC0013",
@@ -12,6 +15,7 @@ pub const DEVICE_INFO: DeviceInfo = DeviceInfo {
check_val: 0xa3
};
+#[allow(dead_code)]
impl FC0013 {
pub fn new() -> FC0013 {
FC0013 {
@@ -21,7 +25,7 @@ impl FC0013 {
}
impl Device for FC0013 {
- fn init(&self) {
+ fn init(&self, _usb: &Usb) {
println!("Init {}", self.device.name);
}
}