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.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/fc0013.rs b/src/devices/fc0013.rs
index 2af58fb..028c36b 100644
--- a/src/devices/fc0013.rs
+++ b/src/devices/fc0013.rs
@@ -1,7 +1,7 @@
-use super::{DeviceInfo, Actions};
+use super::{DeviceInfo, Device};
pub struct FC0013 {
- device: DeviceInfo
+ pub device: DeviceInfo
}
pub const DEVICE_INFO: DeviceInfo = DeviceInfo {
@@ -13,14 +13,14 @@ pub const DEVICE_INFO: DeviceInfo = DeviceInfo {
};
impl FC0013 {
- fn new() -> FC0013 {
+ pub fn new() -> FC0013 {
FC0013 {
device: DEVICE_INFO
}
}
}
-impl Actions for FC0013 {
+impl Device for FC0013 {
fn init(&self) {
println!("Init {}", self.device.name);
}