mcci-catena / Catena-Arduino-Platform

Arduino platform library for MCCI Catena IoT Systems
MIT License
12 stars 11 forks source link

CalibrateSystemClock() do not consider better calibration value #259

Open dhineshkumarmcci opened 4 years ago

dhineshkumarmcci commented 4 years ago

CalibrateSystemClock() always seems to consider CalibHigh while both the flags fHaveSeenLow and fHaveSeenHigh are set true. Thus while checking error in PPM of the system clock, the values always range positive and go higher.