Skip to content

Commit bdf377b

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

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
@@ -246,6 +246,14 @@ pub fn print_thermal(ec: &CrosEc) {
246246
println!(" dGPU temp: {:>4}", TempSensor::from(temps[7]));
247247
}
248248
}
249+
250+
Some(Platform::FrameworkDesktopAmdAiMax300) => {
251+
println!(" F75303_APU: {:>4}", TempSensor::from(temps[0]));
252+
println!(" F75303_DDR: {:>4}", TempSensor::from(temps[1]));
253+
println!(" F75303_AMB: {:>4}", TempSensor::from(temps[2]));
254+
println!(" APU: {:>4}", TempSensor::from(temps[3]));
255+
}
256+
249257
_ => {
250258
println!(" Temp 0: {:>4}", TempSensor::from(temps[0]));
251259
println!(" Temp 1: {:>4}", TempSensor::from(temps[1]));

0 commit comments

Comments
 (0)