OpenAstroTracker-Firmware icon indicating copy to clipboard operation
OpenAstroTracker-Firmware copied to clipboard

add #ifdef for ALTITUDE_STEPS_PER_REV and ALTITUDE_STEPS_PER_ARC_MINUTE

Open intercipere opened this issue 3 years ago • 1 comments

add #ifdef for ALTITUDE_STEPS_PER_REV and ALTITUDE_STEPS_PER_ARC_MINUTE to allow reconfiguration for OAM in local config

intercipere avatar Jun 02 '22 08:06 intercipere

Looks like your PR has code that needs to be changed in order to meet our coding standards! Here are your options:

  1. Apply the patch that was generated by the job
    1. Click details under the failing clang-format check
    2. Click the Artifacts dropdown in the top right
    3. Download + unzip the clang-format-diff.patch file into the OpenAstroTracker-Firmware repo
    4. Run git apply clang-format-diff.patch to make the changes
    5. Commit and push up the formatted code
  2. Run clang-format locally
    1. 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'
    2. Commit and push up the formatted code

openastrotech-bot avatar Jun 02 '22 08:06 openastrotech-bot