Closed peteasa closed 4 months ago
Looks like your PR has code that needs to be changed in order to meet our coding standards! Here are your options:
details
under the failing clang-format checkArtifacts
dropdown in the top rightclang-format-diff.patch
file into the OpenAstroTracker-Firmware
repogit apply clang-format-diff.patch
to make the changesclang-format
locally
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'
I noticed that setting Latitude of observatories close to the meridian fails. The failure occurs because -0 degrees is not necessarily a negative value.
This draft change is for your consideration and fixes this issue.