summaryrefslogtreecommitdiff
path: root/src/devices/fc0013.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/fc0013.rs')
-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);
}
}