新增CCS-PRIMA使能参数设置。
This commit is contained in:
@@ -603,8 +603,9 @@ SSI_STATUS_MOTION CSO7_Proto::so7_config_para_set_default()
|
||||
g_machine.s_machine_config.motion.m_TouchProbeEnable=0;
|
||||
g_machine.s_machine_config.motion.m_FootSwitchEnable=0;
|
||||
g_machine.s_machine_config.motion.m_JoyStickEnable=0;
|
||||
g_machine.s_machine_config.motion.m_STIL_CCS_PRIMA_Enable=0;
|
||||
g_machine.s_machine_config.motion.m_DebugOutputEnable=0;
|
||||
|
||||
|
||||
g_machine.s_machine_config.motion.m_SDK3000_CntThreadSleepVal=550000;
|
||||
g_machine.s_machine_config.motion.m_SV4000E_DenoisePara[0]=70;
|
||||
g_machine.s_machine_config.motion.m_SV4000E_DenoisePara[1]=70;
|
||||
@@ -2262,6 +2263,10 @@ SSI_STATUS_MOTION CSO7_Proto::Save_So7_Config()
|
||||
fprintf(m_pOutFile,"%s", outBuff);
|
||||
fprintf(m_pOutFile,"%d", g_machine.s_machine_config.motion.m_JoyStickEnable);
|
||||
fprintf(m_pOutFile, "\n");
|
||||
outBuff="CCS_PRIMA_ENABLE=";
|
||||
fprintf(m_pOutFile,"%s", outBuff);
|
||||
fprintf(m_pOutFile,"%d", g_machine.s_machine_config.motion.m_STIL_CCS_PRIMA_Enable);
|
||||
fprintf(m_pOutFile, "\n");
|
||||
outBuff="DEBUG_LOG_ENABLE=";
|
||||
fprintf(m_pOutFile,"%s", outBuff);
|
||||
fprintf(m_pOutFile,"%d", g_machine.s_machine_config.motion.m_DebugOutputEnable);
|
||||
@@ -2636,6 +2641,15 @@ SSI_STATUS_MOTION CSO7_Proto::Load_So7_Config()
|
||||
g_machine.s_machine_config.motion.m_JoyStickEnable=atoi(cTemp);
|
||||
}
|
||||
}
|
||||
else if (!_stricmp(token,"CCS_PRIMA_ENABLE"))
|
||||
{
|
||||
token = strtok( NULL, seps);
|
||||
if (token)
|
||||
{
|
||||
strcpy(cTemp,token);
|
||||
g_machine.s_machine_config.motion.m_STIL_CCS_PRIMA_Enable=atoi(cTemp);
|
||||
}
|
||||
}
|
||||
else if (!_stricmp(token,"DEBUG_LOG_ENABLE"))
|
||||
{
|
||||
token = strtok( NULL, seps);
|
||||
|
||||
Reference in New Issue
Block a user