Skip to content

Commit

Permalink
add boards
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarn committed Aug 22, 2021
1 parent d46ead0 commit 3f172b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rog_fan_curve/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rog_fan_curve"
version = "0.1.10"
version = "0.1.11"
authors = ["ryan <yarnnd@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Yarn/rog_fan_curve"
Expand Down
3 changes: 2 additions & 1 deletion rog_fan_curve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ impl Board {

/// Identifies the board using prefixes that have been reported as working
pub fn from_name(name: &str) -> Option<Self> {
for prefix in &["GA401I", "GA401Q"] {
for prefix in &["GA401", "GA502", "GA503"] {
if name.starts_with(prefix) {
return Some(Board::Ga401)
}
Expand All @@ -324,6 +324,7 @@ impl Board {
"GA401IVC" => Some(Board::Ga401),
"GA401IH" => Some(Board::Ga401),
"GA401QM" => Some(Board::Ga401),
"GA502IU" => Some(Board::Ga401),
_ => None,
}
}
Expand Down

0 comments on commit 3f172b8

Please sign in to comment.