1.去除编译警告1

This commit is contained in:
payton 2024-01-17 15:44:32 +08:00
parent 609e4ae3a5
commit 6bab9a4f72
3 changed files with 4 additions and 2 deletions

View File

@ -83,6 +83,7 @@ int sf_set_ble_name(char *name)
UIMenuStoreInfo *puiPara = sf_app_ui_para_get();
snprintf((char *)puiPara->BluSsid, sizeof(puiPara->BluSsid), "%s", (char *)name);
BLU_SLOGI("BluSsid:%s\n", puiPara->BluSsid);
return 0;
}
static UINT32 sf_set_pir_sensitivity(UINT8 pirs)
{

View File

@ -338,8 +338,8 @@ static void * FwUpgradeTask(void * argv)
UINT16 len = 0;
UINT16 pkt_id = 0;
UINT16 ack_id = 0;
SINT8 param[1] = {0};
param[0] = 0;
//SINT8 param[1] = {0};
//param[0] = 0;
//char *file_path = sf_root_path_strcat(UPGRADE_FIRMWARE_NANE);
char file_path[64] = {0};

View File

@ -23,6 +23,7 @@
#include "sf_log.h"
#include "sf_ledmng.h"
#include "sf_fileMng.h"
#include "sf_storeMng.h"
#include "sf_systemMng.h"
#include "sf_commu_mcu_reg.h"