Commit e00dbad
add fan curve support parity with Linux daemon
fan curves and model strings current as-of:
https://github.com/pop-os/system76-power/blob/79b02d/src/fan.rs
bump to rust 1.53 (or newer is OK)
This is due to the use of "or patterns" inside a match. This was
stabilized in rust 1.53: rust-lang/rust#79278
I see similar syntax used in the Linux daemon, but that uses rust
1.41... I'm uncertain how that was building previously?1 parent 264b41a commit e00dbad
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
93 | 106 | | |
94 | 107 | | |
95 | 108 | | |
| |||
0 commit comments