Commit 9f88b3e
committed
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
also add note about rust 1.53 or newer to README.md and bump ./rust-toolchain to same (note: 1.55 is current release!)
This is due to the use of "or patterns" inside a match. This was
stabilized in rust 1.53: rust-lang/rust#79278
(and, I believe, is being used in the Linux daemon)1 parent 264b41a commit 9f88b3e
3 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| 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