1.去掉一些log和注释的函数
This commit is contained in:
parent
3614891639
commit
c438084cd6
|
@ -148,34 +148,6 @@ extern UINT8 SendingFile;
|
||||||
void dataClientListPrint(void);
|
void dataClientListPrint(void);
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
static UINT32 sf_set_pir_sensitivity_app(UINT8 pirs)
|
|
||||||
{
|
|
||||||
UINT8 digPirLevel[10] = {200, 38, 30, 24, 18, 16, 10, 9, 8, 7};
|
|
||||||
UINT8 digPirCount[10] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1};
|
|
||||||
|
|
||||||
UIMenuStoreInfo *puiPara = sf_app_ui_para_get();
|
|
||||||
//UIMenuStoreInfo *puiPara = sf_ui_para_get();
|
|
||||||
if(pirs >= 10)
|
|
||||||
return FAIL;
|
|
||||||
puiPara->PirSensitivity = pirs;
|
|
||||||
puiPara->DigitPirSensitivity = digPirLevel[pirs];
|
|
||||||
puiPara->DigitPirCnt = digPirCount[pirs];
|
|
||||||
puiPara->DigitPirWindowTime = 0;
|
|
||||||
|
|
||||||
if(puiPara->PirSensitivity)
|
|
||||||
{
|
|
||||||
puiPara->TimelapseSwitch = SF_OFF;
|
|
||||||
puiPara->TimelapseTime.Hour = 0;
|
|
||||||
puiPara->TimelapseTime.Min = 0;
|
|
||||||
puiPara->TimelapseTime.Sec = 0;
|
|
||||||
//Save_MenuInfo();
|
|
||||||
}
|
|
||||||
|
|
||||||
return SUCCESS;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
static S32 sf_get_sd_info(UINT32 *pSDStatus, UINT32 *pSDFree, UINT32 *pSDTotalSize)
|
static S32 sf_get_sd_info(UINT32 *pSDStatus, UINT32 *pSDFree, UINT32 *pSDTotalSize)
|
||||||
{
|
{
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
|
@ -2635,7 +2607,7 @@ void sf_wifi_hw_init(void)
|
||||||
|
|
||||||
//char buf[256];
|
//char buf[256];
|
||||||
ret = system("cp /etc/wifiap_wpa2.conf /tmp/wifiap_wpa2.conf");
|
ret = system("cp /etc/wifiap_wpa2.conf /tmp/wifiap_wpa2.conf");
|
||||||
MLOGI("[%s:%d] sSSID:%s WifiApPWD:%s\n", __FUNCTION__, __LINE__,sSSID,puiPara->WifiApPWD);
|
//MLOGI("[%s:%d] sSSID:%s WifiApPWD:%s\n", __FUNCTION__, __LINE__,sSSID,puiPara->WifiApPWD);
|
||||||
|
|
||||||
|
|
||||||
sprintf(scmd,"/etc/app/hostap.sh wpawpa2 %s %s 6 %s",sSSID,puiPara->WifiApPWD,SF_WIFI_NETDEV_8189_NAME);
|
sprintf(scmd,"/etc/app/hostap.sh wpawpa2 %s %s 6 %s",sSSID,puiPara->WifiApPWD,SF_WIFI_NETDEV_8189_NAME);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user