We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 428fc82 commit d4c0548Copy full SHA for d4c0548
1 file changed
framework_lib/src/power.rs
@@ -214,7 +214,12 @@ pub fn print_thermal(ec: &CrosEc) {
214
println!(" F75303_DDR: {:>4}", TempSensor::from(temps[2]));
215
println!(" Battery: {:>4}", TempSensor::from(temps[3]));
216
println!(" PECI: {:>4}", TempSensor::from(temps[4]));
217
- println!(" F57397_VCCGT: {:>4}", TempSensor::from(temps[5]));
+ if matches!(
218
+ platform,
219
+ Some(Platform::IntelGen12) | Some(Platform::IntelGen13)
220
+ ) {
221
+ println!(" F57397_VCCGT: {:>4}", TempSensor::from(temps[5]));
222
+ }
223
}
224
Some(Platform::Framework13Amd7080 | Platform::Framework16Amd7080) => {
225
println!(" F75303_Local: {:>4}", TempSensor::from(temps[0]));
0 commit comments