aZholtikov / zh_network

ESP32 ESP-IDF and ESP8266 RTOS SDK component (arduino library for ESP32 family) for ESP-NOW based mesh network.
Apache License 2.0
47 stars 6 forks source link

Cleanup includes in zh_network.h #8

Closed Moddingear closed 5 months ago

Moddingear commented 5 months ago

Almost all includes in zh_network.h can be moved to zh_network.c

Doing so helps the compiler.

You only need to keep

#include "esp_wifi.h"

in the header

aZholtikov commented 5 months ago

https://github.com/aZholtikov/zh_network/issues/6