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

Wrap ZH_NETWORK_MAX_MESSAGE_SIZE with a ifndef #7

Closed Moddingear closed 5 months ago

Moddingear commented 5 months ago

ZH_NETWORK_MAX_MESSAGE_SIZE is force-set in the header.

Wrapping it with a ifndef allows setting cutom values in the compiler without modifying the file.

aZholtikov commented 5 months ago

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