Skip to content

Commit edff45a

Browse files
committed
power: Add Framework12IntelGen13 thermal mapping
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent bdf377b commit edff45a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

framework_lib/src/power.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,14 @@ pub fn print_thermal(ec: &CrosEc) {
230230
println!(" PECI: {:>4}", TempSensor::from(temps[4]));
231231
}
232232

233+
Some(Platform::Framework12IntelGen13) => {
234+
println!(" F75303_CPU: {:>4}", TempSensor::from(temps[0]));
235+
println!(" F75303_Skin: {:>4}", TempSensor::from(temps[1]));
236+
println!(" F75303_Local: {:>4}", TempSensor::from(temps[2]));
237+
println!(" Battery: {:>4}", TempSensor::from(temps[3]));
238+
println!(" PECI: {:>4}", TempSensor::from(temps[4]));
239+
}
240+
233241
Some(
234242
Platform::Framework13Amd7080
235243
| Platform::Framework13AmdAi300

0 commit comments

Comments
 (0)