调整脚本
This commit is contained in:
parent
9752079d31
commit
654fdbfcf7
2
build.sh
2
build.sh
|
@ -7,7 +7,7 @@ mainverstr="s/ver_1/4/g" #版本控制
|
|||
minver="06"
|
||||
minverstr="s/ver_2/"
|
||||
|
||||
|
||||
sudo apt install libudev-dev
|
||||
if [ "$sys" == "UnionTech" ];then
|
||||
# uos ...
|
||||
|
||||
|
|
|
@ -883,7 +883,7 @@ else
|
|||
{
|
||||
ic.cropRect.enable = custom_area_;
|
||||
int height = (custom_area_br_y_ *ic.resolution_dst) /25.4 - (custom_area_lt_y_ *ic.resolution_dst /25.4);
|
||||
int width = (custom_area_br_x_ *ic.resolution_dst) /25.4 - (custom_area_lt_x_ *ic.resolution_dst /25.4);
|
||||
int width = (custom_area_br_x_ *ic.resolution_dst) /25.4 - (custom_area_lt_x_ *ic.resolution_dst /25.4);
|
||||
ic.cropRect.height = height;
|
||||
ic.cropRect.width = width;
|
||||
ic.cropRect.x = custom_area_lt_x_ *ic.resolution_dst /25.4;
|
||||
|
|
Loading…
Reference in New Issue