Skip to content

Commit 2613e0e

Browse files
authored
Merge pull request #174 from pop-os/panp16
Add panp16
2 parents e70f194 + 784a6ee commit 2613e0e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/ec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn ec(primary: bool) -> Result<(String, String), String> {
3434
// Handle specific model variations
3535
#[allow(clippy::single_match)]
3636
match (sys_vendor.as_str(), product_version.as_str()) {
37-
("System76", "pang12" | "pang13" | "pang14" | "pang15") => {
37+
("System76", "pang12" | "pang13" | "pang14" | "pang15" | "panp16") => {
3838
let ec_io_path = Path::new("/sys/kernel/debug/ec/ec0/io");
3939
if !ec_io_path.exists() {
4040
let status = Command::new("modprobe")

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const MODEL_WHITELIST: &[&str] = &[
119119
"pang13",
120120
"pang14",
121121
"pang15",
122+
"panp16",
122123
"serw9",
123124
"serw10",
124125
"serw11",

0 commit comments

Comments
 (0)