update changelog

This commit is contained in:
shaozhimin 2024-06-07 16:09:14 +08:00 committed by openkylin-cibot
parent 1934f43543
commit 011b4a3181
3 changed files with 41 additions and 0 deletions

10
debian/changelog vendored
View File

@ -1,3 +1,13 @@
libkysdk-system (2.5.1.2-0k0.2) nile; urgency=medium
* BUG#229044 【需求28161】系统显示信息获取模块-物理水平和垂直DPI与实际DPI值不一致
#229297 【需求28161】系统显示信息获取模块-亮度-用例执行报段错误
* 需求号:无
* 其他改动说明:无
* 其他改动影响域:无
-- szm-min <shaozhimin@kylinos.cn> Wed, 05 Jun 2024 11:33:40 +0800
libkysdk-system (2.5.1.2-0k0.1) nile; urgency=medium
* BUG

View File

@ -0,0 +1,30 @@
From: shaozhimin <shaozhimin@kylinos.cn>
Date: Fri, 7 Jun 2024 16:09:14 +0800
Subject: update changelog
---
src/hardware/libkyedid.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hardware/libkyedid.c b/src/hardware/libkyedid.c
index a445afb..0316bc4 100644
--- a/src/hardware/libkyedid.c
+++ b/src/hardware/libkyedid.c
@@ -2717,7 +2717,7 @@ float kdk_edid_get_rawDpiX(char *name)
free(area);
float inch = 0.0;
- inch = atoi(horization) / 25.4;
+ inch = atof(horization) / 25.4;
char *max = kdk_edid_get_max_resolution(name);
if(!max)
@@ -2735,7 +2735,7 @@ float kdk_edid_get_rawDpiX(char *name)
p = strtok(NULL,"");
}
- int reslou = atoi(buff[0]);
+ float reslou = atof(buff[0]);
float rawDpiX = reslou / inch;
return rawDpiX;
}

View File

@ -1,2 +1,3 @@
0001-update-changelog.patch
0002-update-changelog.patch
0003-update-changelog.patch