修改默认背光值

This commit is contained in:
xu
2026-09-28 11:48:04 +08:00
parent fdff2918c3
commit 48fc4058d8
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ int get_parameter(struct decoce_param *pparam)
printf("config file parse filed!\n");
return -1;
}
pparam->light = get_conf_int("light", 0);
pparam->light = get_conf_int("light", 1200);
//pparam->osd_on = get_conf_int("osd_on", 0);
printf("light %d \n",pparam->light);
return 0;
+1 -1
View File
@@ -80,7 +80,7 @@ int init_net(){
socket_descriptor[i]=socket(AF_INET,SOCK_DGRAM,0);//IPV4
tv.tv_sec = 4;
tv.tv_sec = 2;
tv.tv_usec = 0;
if (setsockopt(socket_descriptor[i], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) {
printf("socket option SO_RCVTIMEO not support\n");
Binary file not shown.