Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move daemon controller to interface #424

Merged
merged 3 commits into from
Sep 27, 2022

Conversation

JakeRoggenbuck
Copy link
Owner

fixes #423

@JakeRoggenbuck JakeRoggenbuck requested review from Camerooooon and Shuzhengz and removed request for Camerooooon September 27, 2022 07:47
Copy link
Collaborator

@Shuzhengz Shuzhengz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment on lines +254 to +264
GetType::Freq { raw } => int.get.freq(raw),
GetType::Power { raw } => int.get.power(raw),
GetType::Usage { raw } => int.get.usage(raw),
GetType::Thermal { raw } => int.get.thermal(raw),
GetType::Turbo { raw } => int.get.turbo(raw),
GetType::AvailableGovs { raw } => int.get.available_govs(raw),
GetType::CPUs { raw } => int.get.cpus(raw),
GetType::Speeds { raw } => int.get.speeds(raw),
GetType::Temp { raw } => int.get.temp(raw),
GetType::Govs { raw } => int.get.govs(raw),
GetType::BatCond { raw } => int.get.bat_cond(raw),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

o wow good catch

@JakeRoggenbuck JakeRoggenbuck merged commit e72c7bf into main Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move the daemon control commands out of args.rs and into interface.rs
2 participants