修改默认背光值
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user