NOTE Dependent on PR #518 .
As per the coding style md:
– Split motor files into header/cpp files. Basically each motor has a header and cpp file
– Fixed includes where appropriate (no reordering, this is just a consequence of the splitting)
– Moved API to motors.cpp/motors.h
– Introduced namespace Motors to hide everything
Tested compilation with build-all.sh and Arduino IDE. No code has been changed, just moved stuff around.
#1 – atlaste 于 2020-08-08
build-all found a typo. Have to fix this and try again…