ColyberCompany / ColyberFlightController

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

Move some enums from Enums folder #70

Closed JanWielgus closed 2 years ago

JanWielgus commented 2 years ago

I think that for example it will be better for FlightModeTypes to be insinde the FlightMode class. Same for AxisType and SensorTypes.

lilooraf commented 2 years ago

Hi @JanWielgus, can I try it ?

JanWielgus commented 2 years ago

@lilooraf of course. This is standard PlatformIO project. If you will have trouble to open and compile it, let me know. This issue about moving some (not all) enums from Enums folder, to the appropriate classes (just nested enums inside this classes).

FlightModeTypes into FlightMode class. SensorTypes into Sensor class. Do not change AxisType enum.

And then change all usages of those enums in code that code will compile.

lilooraf commented 2 years ago

Thanks, I'm use to makefiles so maybe how to compile it

lilooraf commented 2 years ago

71