mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d2bcb5c7ff
Compared with the latest idf, idf4.0 defines BIT(nr) in the "esp_bit_defs.h" without the pre-condition "#ifndef BIT", which will cause compile warning when using mesh. So we include the header file "soc/soc.h" in "mesh_util.h", which can bypass the definition of "BIT" in "mesh_util.h" when compiling.