diff options
| author | Yuval Adam <_@yuv.al> | 2018-07-29 17:27:27 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-07-29 17:27:27 +0300 |
| commit | 59e2ae68353648364ba128ca6079157794eae1fc (patch) | |
| tree | fff5326a2e567aad5a1e8bba2bc85d1d2640bb1f /src/lib.rs | |
| parent | e3f2a44ed678bc8de6748fc0af3540f881871e1f (diff) | |
Refactor DeviceInfo struct and impls
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,9 +27,9 @@ const INTERFACE_ID: u8 = 0; use devices::*; -const DEVICES: [Device; 2] = [ - fc0013::FC0013, - r820t::R820T +const DEVICES: [DeviceInfo; 2] = [ + fc0013::DEVICE_INFO, + r820t::DEVICE_INFO ]; const CTRL_TIMEOUT: Duration = Duration::from_millis(300); |
