IvanVeloz / ndsntp

NTP client for the Nintendo DS
MIT License
4 stars 0 forks source link

Implement writing the hardware RTC #9

Closed IvanVeloz closed 2 months ago

IvanVeloz commented 2 months ago

This PR implements writing to the hardware RTC. Closes issue https://github.com/IvanVeloz/ndsntp/issues/6.

The changes were tested on real hardware with great results. The accuracy is within 1 second in most cases. For the time being, the time is set to UTC, and the synchronization starts automatically.

IvanVeloz commented 2 months ago

Checklist

IvanVeloz commented 2 months ago

Tested on hardware successfully. Documentation was updated in issue #10.