1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/esp8266: macros required by esp_now_netdev

This commit is contained in:
Gunar Schorcht 2018-12-29 17:21:25 +01:00 committed by Schorcht
parent 7c5e3a5ca2
commit b6d15565be

View File

@ -83,6 +83,12 @@ extern "C" {
#define CHECK_PARAM(cond) if (!(cond)) return;
#endif
#define LOG_TAG_ERROR(tag, fmt, ...) LOG_ERROR("[%s] " fmt, tag, ##__VA_ARGS__)
#define LOG_TAG_WARNING(tag, fmt, ...) LOG_WARNING("[%s] " fmt, tag, ##__VA_ARGS__)
#define LOG_TAG_INFO(tag, fmt, ...) LOG_INFO("[%s] " fmt, tag, ##__VA_ARGS__)
#define LOG_TAG_DEBUG(tag, fmt, ...) LOG_DEBUG("[%s] " fmt, tag, ##__VA_ARGS__)
/** @} */
#ifdef __cplusplus