timmbogner / Farm-Data-Relay-System

A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
MIT License
524 stars 116 forks source link

Wrap fdrs globals from src/fdrs_globals.h to allow for project specific settings. #176

Closed shaffenmeister closed 1 year ago

shaffenmeister commented 1 year ago

Wrap fdrs globals from to allow for project specific settings.

Adding #define __FDRS_GLOBALS_h__ to src/fdrs_globals.h allows the user to define global variables on a per project basis. This aids in using FDRS as an out-of-the-box library: When a project shall use own global definitions, it can include a header file that itself defines __FDRS_GLOBALS_h__.

timmbogner commented 1 year ago

Looks good! Thanks a lot!