From 6f826a4ed1d399648a74c39ece0971d1118c83b1 Mon Sep 17 00:00:00 2001 From: zhanghongyuan Date: Mon, 15 Sep 2025 13:42:02 +0800 Subject: [PATCH] feat: Adjust CPU frequency for kSpecialType5 device Modified CPU frequency display for kSpecialType5 devices include current frequency and max frequency to correct hardware reporting inaccuracies. Log: Fix CPU frequency display for special device type Task: https://pms.uniontech.com/task-view-381921.html Change-Id: Ia80c7e9edf7618188874e0648cb599920f49eada --- deepin-devicemanager/src/DeviceManager/DeviceCpu.cpp | 3 ++- deepin-devicemanager/src/commonfunction.cpp | 2 +- deepin-devicemanager/src/commonfunction.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deepin-devicemanager/src/DeviceManager/DeviceCpu.cpp b/deepin-devicemanager/src/DeviceManager/DeviceCpu.cpp index 26959a8e..4a2fbd0b 100644 --- a/deepin-devicemanager/src/DeviceManager/DeviceCpu.cpp +++ b/deepin-devicemanager/src/DeviceManager/DeviceCpu.cpp @@ -46,7 +46,8 @@ void DeviceCpu::setCpuInfo(const QMap &mapLscpu, const QMap