mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-04-09 03:11:29 +00:00
add doxygen and header guards
This commit is contained in:
parent
f30fa4f130
commit
472b478afe
8 changed files with 126 additions and 21 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
/**
|
||||
* @file logger.h
|
||||
* @brief Project-wide logging macros based on ESP-IDF's logging library.
|
||||
|
|
@ -27,8 +26,12 @@
|
|||
|
||||
#include "esp_log.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef LOG_TAG
|
||||
#define LOG_TAG "CHAOS"
|
||||
#define LOG_TAG "CHAOS" ///< Default log tag
|
||||
#endif
|
||||
|
||||
/** @brief Log a message at Error level. */
|
||||
|
|
@ -41,3 +44,7 @@
|
|||
#define LOGD(...) ESP_LOGD(LOG_TAG, __VA_ARGS__)
|
||||
/** @brief Log a message at Verbose level. */
|
||||
#define LOGV(...) ESP_LOGV(LOG_TAG, __VA_ARGS__)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue