logger interrupt
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
#ifndef _LOGGER_H_
|
||||
#define _LOGGER_H_
|
||||
|
||||
#include <main.h>
|
||||
|
||||
|
||||
#define LOGGER_INTERRUPT
|
||||
|
||||
typedef enum {
|
||||
LOG_HIGH,
|
||||
@ -32,4 +34,9 @@ int coloredMsg(const t_logColor color, const char *format, ...);
|
||||
// return value can be ignored, it is only used in test
|
||||
int logExec();
|
||||
|
||||
#ifdef LOGGER_INTERRUPT
|
||||
void mbusCommTxCpltCallback(UART_HandleTypeDef *huart);
|
||||
#endif
|
||||
|
||||
|
||||
#endif // _LOGGER_H_
|
||||
|
Reference in New Issue
Block a user