|
|
@ -44,7 +44,7 @@ static uint32_t plod_state_has_disconnected_ms() { return znordic_haspassed_ms(m |
|
|
|
static bool plod_state_is_connected() { return m_plod_state_connected_state; } |
|
|
|
|
|
|
|
static void m_plod_state_event_detect_tmr_cb(void* p_context) { // |
|
|
|
static uint32_t connecte_state_trigger_cnt = 0; |
|
|
|
static uint32_t connecte_state_trigger_cnt = 0; |
|
|
|
static app_event_t appevent; |
|
|
|
memset(&appevent, 0, sizeof(appevent)); |
|
|
|
|
|
|
@ -260,7 +260,7 @@ void app_event_process_cb(void* p_event_data, uint16_t event_size) { |
|
|
|
znordic_rtc_gettime(&tm); |
|
|
|
|
|
|
|
sampledata_file_name.year = tm.tm_year + 1900 - 2000; |
|
|
|
sampledata_file_name.month = tm.tm_mon; |
|
|
|
sampledata_file_name.month = tm.tm_mon + 1; |
|
|
|
sampledata_file_name.day = tm.tm_mday; |
|
|
|
sampledata_file_name.hour = tm.tm_hour; |
|
|
|
sampledata_file_name.min = tm.tm_min; |
|
|
|