summaryrefslogtreecommitdiff
path: root/src/devices/fc0013.rs
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-07-29 13:32:39 +0300
committerYuval Adam <_@yuv.al>2018-07-29 13:32:39 +0300
commit92f7a55b1c2111027e12b0b1958782afb5bec47d (patch)
tree2cb6034575dc6fcca84f4575e131dfa05b17f79a /src/devices/fc0013.rs
parentc04a539100d278e03490193bdfa76b664b93b2b8 (diff)
Lower case fields in Device struct
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 bd5ab50..6482eee 100644
--- a/src/devices/fc0013.rs
+++ b/src/devices/fc0013.rs
@@ -1,8 +1,8 @@
use super::Device;
pub const FC0013: Device = Device {
- NAME: "Fitipower FC0013",
- I2C_ADDR: 0xc6,
- CHECK_ADDR: 0x00,
- CHECK_VAL: 0xa3
+ name: "Fitipower FC0013",
+ i2c_addr: 0xc6,
+ check_addr: 0x00,
+ check_val: 0xa3
};