larus-breeze / sw_sensor

Firmware for Larus sensor MK1 and MK2
3 stars 3 forks source link

sd card logging could miss data #10

Closed MaxBaex closed 1 year ago

MaxBaex commented 3 years ago

Logger task writes every 10ms to the sd card.
SD cards sometimes need longer for a write access due to internal page or wear leveling algorithms. This could potentially cause data loss.

realtimepeople commented 3 years ago

Checked by ASSERT inside synchronous_timer.sync() Assert was not triggered during recent tests.