diff --git a/firmware/app/structs/eps2_data.c b/firmware/app/structs/eps2_data.c index 39a7366..522b640 100644 --- a/firmware/app/structs/eps2_data.c +++ b/firmware/app/structs/eps2_data.c @@ -35,6 +35,7 @@ */ #include +#include #include "eps2_data.h" @@ -65,7 +66,8 @@ int eps_buffer_write(uint8_t id, uint32_t *value) switch(id) { case EPS2_PARAM_ID_TIMESTAMP: - eps_data_buff.timestamp = *value; + eps_data_buff.timestamp = *value; + system_set_time(*value); break; case EPS2_PARAM_ID_MCU_TEMP: eps_data_buff.eps_mcu_temp_kelvin = *value;