diff --git a/system/cpu.go b/system/cpu.go index 86503cc..afb9f47 100644 --- a/system/cpu.go +++ b/system/cpu.go @@ -241,7 +241,7 @@ func getCpuInfo(ret *model.SystemInfo, cpuType string) (*model.SystemInfo, error } } } - // TODO 使用 /proc/device-tree 获取信息 - 特化适配嵌入式系统 + // 使用 /proc/device-tree 获取信息 - 特化适配嵌入式系统 deviceTreeContent, err := os.ReadFile("/proc/device-tree") if err == nil { ret.CpuModel = string(deviceTreeContent)