pub fn resolve_device(device: Option<String>, config: &Config) -> Option<String>Expand description
Resolve device from arg, env var, or config. Also resolves aliases: if the device matches an alias name, returns the address. Falls back to last_device if no default device is set.