mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Feat: GA403WR -> GA403W
This commit is contained in:
@@ -38,8 +38,8 @@ pub fn get_slash_type() -> SlashType {
|
||||
.map_err(|_| SlashError::NoDevice)
|
||||
.unwrap_or_default();
|
||||
let board_name = dmi.board_name;
|
||||
if board_name.contains("GA403WR") {
|
||||
SlashType::GA403WR
|
||||
if board_name.contains("GA403W") {
|
||||
SlashType::GA403W
|
||||
} else if board_name.contains("GA403") {
|
||||
SlashType::GA403
|
||||
} else if board_name.contains("GA605") {
|
||||
@@ -53,7 +53,7 @@ pub fn get_slash_type() -> SlashType {
|
||||
|
||||
pub const fn report_id(slash_type: SlashType) -> u8 {
|
||||
match slash_type {
|
||||
SlashType::GA403WR => REPORT_ID_19B6,
|
||||
SlashType::GA403W => REPORT_ID_19B6,
|
||||
SlashType::GA403 => REPORT_ID_193B,
|
||||
SlashType::GA605 => REPORT_ID_19B6,
|
||||
SlashType::GU605 => REPORT_ID_193B,
|
||||
|
||||
Reference in New Issue
Block a user