Merge pull request #15 from TheSchemm/master

Added $DEVID and $VENID as arguments to pass to driver.
This commit is contained in:
Jeremy Soller
2017-06-16 21:40:15 -06:00
committed by GitHub
+2
View File
@@ -139,6 +139,8 @@ fn main() {
"$BAR4" => bar_arg(4),
"$BAR5" => bar_arg(5),
"$IRQ" => format!("{}", header.interrupt_line),
"$VENID" => format!("{:>04X}",header.vendor_id),
"$DEVID" => format!("{:>04X}",header.device_id),
_ => arg.clone()
};
command.arg(&arg);