Zero meas_data on startup for consistent behaviour

This commit is contained in:
Thomas Kolb 2021-07-01 21:15:13 +02:00
parent 79fe1113de
commit d239a947cd

View file

@ -3,6 +3,8 @@
#include <libopencmsis/core_cm3.h>
#include <string.h>
#include <fxp.h>
#include <fxp_basic.h>
@ -221,6 +223,8 @@ int main(void)
struct MeasurementResult meas_data;
memset(&meas_data, 0, sizeof(meas_data));
init_clock();
init_rtc();