diff --git a/debian/changelog b/debian/changelog index 4fe7329..ce356ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +libkysdk-system (2.5.1.2-0k0.2) nile; urgency=medium + + * BUG:#229044 【需求28161】系统显示信息获取模块-物理水平和垂直DPI与实际DPI值不一致 + #229297 【需求28161】系统显示信息获取模块-亮度-用例执行报段错误 + * 需求号:无 + * 其他改动说明:无 + * 其他改动影响域:无 + + -- szm-min Wed, 05 Jun 2024 11:33:40 +0800 + libkysdk-system (2.5.1.2-0k0.1) nile; urgency=medium * BUG:无 diff --git a/debian/patches/0003-update-changelog.patch b/debian/patches/0003-update-changelog.patch new file mode 100644 index 0000000..0b135ae --- /dev/null +++ b/debian/patches/0003-update-changelog.patch @@ -0,0 +1,30 @@ +From: shaozhimin +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; + } diff --git a/debian/patches/series b/debian/patches/series index 9fea04d..26ce60b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-update-changelog.patch 0002-update-changelog.patch +0003-update-changelog.patch