[riot-notifications] [RIOT-OS/RIOT] cpu/esp8266: esp-now network device support (#9917)

Gunar Schorcht notifications at github.com
Mon Feb 18 10:43:12 CET 2019


gschorcht commented on this pull request.



> @@ -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__)

Not used in `cpu/esp8266` but in `cpu/esp_common/esp_now` netdev, e.g., here https://github.com/RIOT-OS/RIOT/blob/ac775b8ae5e3f5a385239a16ebbdcb505b1cae89/cpu/esp_common/esp-now/esp_now_netdev.c#L351

That is, when `esp_now` is used, they are required. These macros will be moved later to `cpu/esp_common` in further cleanup PRs. But for the moment and this PR, they are required in `cpu/esp8266`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/9917#discussion_r257619865
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190218/e8376606/attachment.html>


More information about the notifications mailing list