fix
1. 无法第二次启动,授时等待时间优化; 2. 遥控器界面显示:硬盘可用空间,当前帧率剩余飞行时间; 3. 帧率曝光时间和遥控器右侧边栏数字联动; 4. bin2后面加通道数,侧边栏显示bin和通道数; 5. 遥控器去掉惯导定位精度,改为显示full nav; 6. 其他界面改动;
This commit is contained in:
@ -349,10 +349,10 @@ static void *UserFcSubscription_Task(void *arg)
|
||||
USER_LOG_DEBUG("gps TIME: %d.", gpsTime);
|
||||
}//PsdkLogger_UserLogInfo
|
||||
|
||||
if(counter>1 &&counter<10 && isGetGpsDate_time)//避免dji的bug:第一次获取的gpsDate和gpsTime都为0
|
||||
if(counter>1 &&counter<3 && isGetGpsDate_time)//避免dji的bug:第一次获取的gpsDate和gpsTime都为0
|
||||
{
|
||||
printf("开始设置时间\n");
|
||||
system('date');
|
||||
system("date");
|
||||
|
||||
char *gpsDate_str = (char *)malloc(sizeof(char)*50);
|
||||
char *gpsTime_str = (char *)malloc(sizeof(char)*20);
|
||||
@ -423,6 +423,7 @@ static void *UserFcSubscription_Task(void *arg)
|
||||
|
||||
// printf("command---:%s\n",command);
|
||||
system(command);
|
||||
system("echo \"1\" > /media/nvme/300TC/config/timesyncfromdji");
|
||||
}
|
||||
counter++;
|
||||
|
||||
|
Reference in New Issue
Block a user