From 0530454d85792ea08db06da12b3b65a87acf4ca8 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期二, 27 五月 2025 15:56:54 +0800 Subject: [PATCH] 网关成功不丢包与改板子通信,但上位机有255-1包序解析错误,偶尔切频点时丢1包,能用版本,但PA开启后功耗变小了,功耗不对 --- keil/include/components/hido/Include/HIDO_Log.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/keil/include/components/hido/Include/HIDO_Log.h b/keil/include/components/hido/Include/HIDO_Log.h new file mode 100644 index 0000000..d5bead0 --- /dev/null +++ b/keil/include/components/hido/Include/HIDO_Log.h @@ -0,0 +1,38 @@ +/******************************************************************************* + * File Name : DB_Log.h + * Description : + * Created on : 2018年6月28日 + * Author : www.hido-studio.com + *******************************************************************************/ + +#ifndef MIDDLEWARES_THIRD_PARTY_DBLIBRARY_DEBUG_DB_LOG_H_ +#define MIDDLEWARES_THIRD_PARTY_DBLIBRARY_DEBUG_DB_LOG_H_ +/******************************************************************************* + * Include Files * + *******************************************************************************/ +#include "HIDO_TypeDef.h" + +/******************************************************************************* + * Macro * + *******************************************************************************/ + +/******************************************************************************* + * Type Definition * + *******************************************************************************/ +typedef enum +{ + HIDO_LOG_LEVEL_ERROR = 0, + HIDO_LOG_LEVEL_WARN, + HIDO_LOG_LEVEL_INFO, + HIDO_LOG_LEVEL_DEBUG, + + HIDO_LOG_LEVEL_MAX, +}HIDO_LogLevelEnum; + +/******************************************************************************* + * Global Function * + *******************************************************************************/ +HIDO_INT32 HIDO_Log(HIDO_LogLevelEnum _eLevel, const HIDO_CHAR *_pcFmt, ...); +HIDO_INT32 HIDO_LogTrace(const HIDO_CHAR *_pcFmt, ...); + +#endif /* MIDDLEWARES_THIRD_PARTY_DBLIBRARY_DEBUG_HIDO_LOG_H_ */ -- Gitblit v1.9.3