Zero meas_data on startup for consistent behaviour
This commit is contained in:
parent
79fe1113de
commit
d239a947cd
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue