mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Fix: ensure upper/lower case doesn't fail the match
This commit is contained in:
@@ -243,7 +243,7 @@ impl From<AnimShutdown> for i32 {
|
||||
#[inline]
|
||||
pub fn get_anime_type() -> AnimeType {
|
||||
let dmi = DMIID::new().unwrap_or_default();
|
||||
let board_name = dmi.board_name;
|
||||
let board_name = dmi.board_name.to_uppercase();
|
||||
|
||||
if board_name.contains("GA401I") || board_name.contains("GA401Q") {
|
||||
AnimeType::GA401
|
||||
|
||||
Reference in New Issue
Block a user