ColyberCompany / ColyberFlightController

Code of flight controller of ColyberCopter
GNU General Public License v3.0
0 stars 1 forks source link

Improve config implementation #40

Closed JanWielgus closed 2 years ago

JanWielgus commented 3 years ago

Now config.h and config.cpp is done in a pre-c++17 way. It is good but can be better using c++17 standard. Example constant in a config.h:

inline constexpr uint8_t ExampleConstant = 5;

Make all config variables looks like it. At the end remove the config.cpp file.

Links that I found helpful: