mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-19 11:33:51 +01:00
`rtt_get_counter()` already waits for syncbusy before reading the time, but we also have to do this in RTC mode (`rtc_get_time()`) to avoid reading old values. Thus, always wait for syncbusy to clear when accessing the COUNT register.