icyphy / lf-buckler

Programming an nRF embedded board with a Berkeley Buckler daughter card using Lingua Franca.
BSD 2-Clause "Simplified" License
7 stars 0 forks source link

Program will stop if lf_clock_gettime is not called frequently enough #4

Closed edwardalee closed 2 years ago

edwardalee commented 2 years ago

The implementation of lf_clock_gettime in https://github.com/icyphy/lf-buckler/blob/main/platform/lf_nrf52_support.c assumes that the function will be called at intervals that do not exceed 71 minutes. This assumption should be guaranteed by the platform rather than just assumed by ensuring that the function is called frequently enough.

edwardalee commented 2 years ago

This is fixed (I think) via #11 .