sentry_gimbal_hzz/bsp/log/bsp_log.h

27 lines
518 B
C
Raw Normal View History

2022-11-11 21:20:58 +08:00
#ifndef _BSP_LOG_H
#define _BSP_LOG_H
2023-01-01 17:32:22 +08:00
/**
* @brief ,
*
*/
void BSPLogInit();
2022-12-02 23:10:36 +08:00
2023-01-01 17:32:22 +08:00
/**
* @brief segger RTT打印日志,,printf
*
* @param fmt
* @param ...
* @return int
*/
int PrintLog(const char *fmt, ...);
2022-12-02 23:10:36 +08:00
2023-01-01 17:32:22 +08:00
/**
* @brief sprintf(),float转换为字符串进行打印
*
* @param str
* @param va float
*/
2022-11-11 21:20:58 +08:00
void Float2Str(char *str, float va);
#endif