summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 319894d..8daac6c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -27,8 +27,8 @@ mod qvalue;
mod types;
use futures::sync::mpsc;
-use std::collections::HashMap;
use std::collections::hash_map::Entry;
+use std::collections::HashMap;
use std::env::args;
use std::sync::Mutex;
use std::time::{Duration, Instant};
@@ -61,9 +61,11 @@ fn main() {
let raw_defs = definitions::RawECUEntry::get_all();
let units = definitions::Units::get();
+ let derived = definitions::Derived::get();
info!("Read {} raw ecu entries", raw_defs.len());
info!("Read {} unit definitions", units.count());
+ info!("Read {} derived definitions", derived.count());
let world = futures::future::lazy(move || {
let args: Vec<String> = args().collect();
@@ -120,7 +122,7 @@ fn main() {
let curmap = current.get_mut().unwrap();
for entry in decoded {
let name = entry.get_name().to_owned();
- if !name.contains(".unused_") {
+ if !name.contains("speed") {
continue;
}
let value = entry.get_value().unwrap();