Skip to content

Commit 3f172b8

Browse files
committed
add boards
1 parent d46ead0 commit 3f172b8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rog_fan_curve/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rog_fan_curve"
3-
version = "0.1.10"
3+
version = "0.1.11"
44
authors = ["ryan <yarnnd@gmail.com>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/Yarn/rog_fan_curve"

rog_fan_curve/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ impl Board {
307307

308308
/// Identifies the board using prefixes that have been reported as working
309309
pub fn from_name(name: &str) -> Option<Self> {
310-
for prefix in &["GA401I", "GA401Q"] {
310+
for prefix in &["GA401", "GA502", "GA503"] {
311311
if name.starts_with(prefix) {
312312
return Some(Board::Ga401)
313313
}
@@ -324,6 +324,7 @@ impl Board {
324324
"GA401IVC" => Some(Board::Ga401),
325325
"GA401IH" => Some(Board::Ga401),
326326
"GA401QM" => Some(Board::Ga401),
327+
"GA502IU" => Some(Board::Ga401),
327328
_ => None,
328329
}
329330
}

0 commit comments

Comments
 (0)