Appiko / nrf5x-firmware

The repository for the firmware of Appiko's camera triggering device
GNU General Public License v3.0
9 stars 10 forks source link

Increase the prescalar of RTC of MS timer increase its max timing capability #4

Closed EarthLord closed 5 years ago

EarthLord commented 5 years ago

The ms-timer should be able to time at least 24 hours. Rework the macros to convert the timing ticks to ms and vice versa used by different modules.

EarthLord commented 5 years ago

ba04a8928ccb726c8d6bf403575fdd8bbed50244 fixes this issue by being able to send the required MS_TIMER module's tick frequency at compile time. An appropriate macro is made to use to convert ms to the appropriate ms timer ticks.