Skip to content

Commit

Permalink
Add newer Thelio Mira models to version matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
thedodd authored and mmstick committed Apr 8, 2024
1 parent ad91edd commit abcc5fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ fn driver() -> io::Result<()> {
).unwrap_or(String::new());

let curve = match (sys_vendor.as_str(), product_version.as_str()) {
("System76", "thelio-mira-r1" | "thelio-mira-r2" | "thelio-mira-r3") => {
("System76", "thelio-mira-r1" | "thelio-mira-r2" | "thelio-mira-r3"
| "thelio-mira-b1" | "thelio-mira-b2" | "thelio-mira-b3" | "thelio-mira-b4") => {
debug!("{} {} uses standard fan curve", sys_vendor, product_version);
FanCurve::standard()
},
Expand Down

0 comments on commit abcc5fe

Please sign in to comment.