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
44 stars 6 forks source link

Wrap ZH_NETWORK_MAX_MESSAGE_SIZE with a ifndef #7

Closed Moddingear closed 4 months ago

Moddingear commented 4 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 4 months ago

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