OpenAstroTech / OpenAstroTracker-Firmware

Official firmware for the OpenAstroTracker.
https://wiki.openastrotech.com
MIT License
89 stars 61 forks source link

fix sign of 0 is ignored #241

Open peteasa opened 4 months ago

peteasa commented 4 months ago

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.