Skip to content

Commit 6db22c6

Browse files
committed
删除不需要的文件
1 parent 2c68504 commit 6db22c6

5 files changed

Lines changed: 6 additions & 23 deletions

File tree

apps/mimiclaw/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ set(APP_SRCS
1818
${APP_PATH}/memory/session_mgr.c
1919
${APP_PATH}/gateway/ws_server.c
2020
${APP_PATH}/cli/serial_cli.c
21-
${APP_PATH}/ota/ota_manager.c
2221
${APP_PATH}/proxy/http_proxy.c
2322
${APP_PATH}/tls_cert_bundle.c
2423
${APP_PATH}/tools/tool_registry.c

apps/mimiclaw/ota/ota_manager.c

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/mimiclaw/ota/ota_manager.h

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/tal_kv/src/tal_kv.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,11 @@ int tal_kv_get(const char *key, uint8_t **value, size_t *length)
266266
tal_mutex_lock(lfs_mutex);
267267
result = lfs_file_open(&lfs, &file, key, LFS_O_RDONLY);
268268
if (LFS_ERR_OK != result) {
269-
PR_ERR("lfs open %s %d err", key, result);
269+
if (result == LFS_ERR_NOENT) {
270+
PR_DEBUG("lfs key not found: %s", key);
271+
} else {
272+
PR_ERR("lfs open %s %d err", key, result);
273+
}
270274
tal_mutex_unlock(lfs_mutex);
271275
return result;
272276
}
@@ -475,4 +479,4 @@ int tal_kv_serialize_get(const char *key, kv_db_t *db, size_t dbcnt)
475479
lfs_t *tal_lfs_get()
476480
{
477481
return &lfs;
478-
}
482+
}

src/tuya_cloud_service/transport/tcp_transporter.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ OPERATE_RET tuya_tcp_transporter_connect(tuya_transporter_t t, const char *host,
106106
tcp_transporter->config.bindPort))) { // socket bind port
107107
op_ret = OPRT_MID_TRANSPORT_SOCK_NET_BIND_FAILED;
108108
goto err_out;
109-
} else {
110-
PR_DEBUG("bind ip:%08x port:%d ok", tcp_transporter->config.bindAddr, tcp_transporter->config.bindPort);
111109
}
112110

113111
if (tcp_transporter->config.sendTimeoutMs &&

0 commit comments

Comments
 (0)