OpenAstroTracker-Firmware
OpenAstroTracker-Firmware copied to clipboard
add #ifdef for ALTITUDE_STEPS_PER_REV and ALTITUDE_STEPS_PER_ARC_MINUTE
add #ifdef for ALTITUDE_STEPS_PER_REV and ALTITUDE_STEPS_PER_ARC_MINUTE to allow reconfiguration for OAM in local config
Looks like your PR has code that needs to be changed in order to meet our coding standards! Here are your options:
- Apply the patch that was generated by the job
- Click
detailsunder the failing clang-format check - Click the
Artifactsdropdown in the top right - Download + unzip the
clang-format-diff.patchfile into theOpenAstroTracker-Firmwarerepo - Run
git apply clang-format-diff.patchto make the changes - Commit and push up the formatted code
- Click
- Run
clang-formatlocally- Run the command
bash -c 'shopt -s nullglob globstar;GLOBIGNORE=./src/libs/TimerInterrupt/*; for i in ./{.,src/**,unit_tests,boards/**}/*.{c,cpp,h,hpp}; do clang-format -i $i; done' - Commit and push up the formatted code
- Run the command