18 lines
452 B
C
18 lines
452 B
C
/**
|
|
* Debug header here to allow for compilation when porting over from firmware.
|
|
*
|
|
* @file dbg.h
|
|
* @brief debug macro
|
|
* @copyright (c) 2018-2021 Kneron Inc. All right reserved.
|
|
*/
|
|
#ifndef __DBG_H__
|
|
#define __DBG_H__
|
|
|
|
#include <stdio.h>
|
|
|
|
#define dbg_msg(fmt, ...) printf(fmt, ##__VA_ARGS__)
|
|
#define err_msg(fmt, ...) printf(fmt, ##__VA_ARGS__)
|
|
#define info_msg(fmt, ...) printf(fmt, ##__VA_ARGS__)
|
|
|
|
#endif // __DBG_H__
|