pjalocha / esp32-ogn-tracker

OGN Tracker implementation on ESP32 devices
56 stars 27 forks source link

ADSL setVerAccur set's a HorizAccuracy, which is incorrect. #57

Closed rvt closed 2 months ago

rvt commented 2 months ago

https://github.com/pjalocha/esp32-ogn-tracker/blob/master/main/adsl.h#L163

    void setVerAccur(uint8_t Prec)
    {
        if(Prec<=15) HorizAccuracy=3;
        else if(Prec<=45) HorizAccuracy=2;
        else HorizAccuracy=1;
    }

The setVerAccur(...) method set's the HorizAccuracy, which I think is incorrect.

rvt commented 2 months ago

Closing out, wrong repository and the other repository already has a PR...