diff --git a/app/netease_control_center_common_module/src/netease_control_center/interfaces/vui/cvui/vuifiles.go b/app/netease_control_center_common_module/src/netease_control_center/interfaces/vui/cvui/vuifiles.go index f739361..844d2c8 100644 --- a/app/netease_control_center_common_module/src/netease_control_center/interfaces/vui/cvui/vuifiles.go +++ b/app/netease_control_center_common_module/src/netease_control_center/interfaces/vui/cvui/vuifiles.go @@ -19,15 +19,11 @@ import ( ) func Init() { - return log.Println(log.DebugLog, "Begin init skin!") C.SkinInit() - log.Println(log.DebugLog, "Init skin end!") } func GetSkinRes(key string) (path string) { - return - jump := time.Now() defer func() { log.Println(log.DebugLog, "Get skin key:", key, " val:", path, " coast time:", time.Now().Sub(jump)) @@ -48,8 +44,6 @@ func GetSkinRes(key string) (path string) { } func UpdateRes(jsonStr string) { - return - cjsonstring := C.CString(jsonStr) if uintptr(unsafe.Pointer(cjsonstring)) != uintptr(0) { log.Println(log.DebugLog, "Begin update res!") @@ -59,8 +53,6 @@ func UpdateRes(jsonStr string) { } func UpdateResFromServer() { - return - log.Println(log.DebugLog, "Begin to update res from server!") var req http.HttpReqHotfix var rsp http.HttpRspHotfix diff --git a/app/netease_control_center_common_module/src/netease_control_center/modules/storage/sqlite3.go b/app/netease_control_center_common_module/src/netease_control_center/modules/storage/sqlite3.go index ddc3ee7..fe7b180 100644 --- a/app/netease_control_center_common_module/src/netease_control_center/modules/storage/sqlite3.go +++ b/app/netease_control_center_common_module/src/netease_control_center/modules/storage/sqlite3.go @@ -12,7 +12,7 @@ import ( ) const ( - DB_PATH = "file:/mnt/UDISK/golangsql.db?cache=shared&mode=memory" + DB_PATH = "file:/mnt/UDISK/golangsql.db?cache=shared" SQLTABLENAME_CONFIG = "config" SQLFMT_CREATE_CONFIG = `CREATE TABLE IF NOT EXISTS ` + SQLTABLENAME_CONFIG + ` ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, diff --git a/app/netease_voice_common_module/src/include/base.h b/app/netease_voice_common_module/src/include/base.h index ee92ef6..7376ac3 100644 --- a/app/netease_voice_common_module/src/include/base.h +++ b/app/netease_voice_common_module/src/include/base.h @@ -31,6 +31,7 @@ extern "C" { ** ------------------------------------------------------------------------ */ #define BOARD_DMIC +#define ENABLE_YUNXIN /* ------------------------------------------------------------------------ ** Types