create project
This commit is contained in:
20
SEGGER_RTT/log.h
Normal file
20
SEGGER_RTT/log.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// rtt_log.h
|
||||
|
||||
#ifndef __RTT_LOG_H__
|
||||
#define __RTT_LOG_H__
|
||||
|
||||
|
||||
typedef enum {
|
||||
LOG_DEBUG,
|
||||
LOG_INFO,
|
||||
LOG_WARNING,
|
||||
LOG_ERROR
|
||||
} LogLevel;
|
||||
|
||||
|
||||
void rtt_log_init(void);
|
||||
|
||||
void rtt_log(LogLevel level, const char *format, ...);
|
||||
|
||||
|
||||
#endif // __RTT_LOG_H__
|
||||
Reference in New Issue
Block a user