In my opinion the line
..~.
#include "esp_wifi_types.h"
...
is not needed.
Although it is not "executed" because of
...
#ifndef __ESP_WIFI_TYPES_H__
#define __ESP_WIFI_TYPES_H__
...
esp_wifi_types.h
Re: esp_wifi_types.h
I think there might be some context missing in this bug report. Are you looking at a particular C file that includes this header?
The #ifndef/#define guard prevents the header from being included twice (for example when included recursively from two different headers.)
The #ifndef/#define guard prevents the header from being included twice (for example when included recursively from two different headers.)
Re: esp_wifi_types.h
I think what the OP is saying is that esp_wifi_types.h file has #include "esp_wifi_types.h" inside. Which is indeed not needed.
Re: esp_wifi_types.h
Indeed ESP_igrr is right.
What I intended to say is this: in file es_wifi_types.h the line #include "esp_wifi_types.h" is not needed.
Not a "real" bug!
What I intended to say is this: in file es_wifi_types.h the line #include "esp_wifi_types.h" is not needed.
Not a "real" bug!
Who is online
Users browsing this forum: No registered users and 38 guests