Browse Source

update

3lead_uart_test_ok_version
zhaohe 1 year ago
parent
commit
de2a0b03fd
  1. 2
      app/src/one_conduction/ble_cmd_process_service.c
  2. 2
      app/src/one_conduction/one_conduction_main.c

2
app/src/one_conduction/ble_cmd_process_service.c

@ -160,7 +160,7 @@ void ble_cmder_process_rx(uint8_t* rx, int len) {
uint8_t recordoff = cmd->record_index;
sample_data_fileinfo_list_t* recordlist = sample_data_mgr_get_fileinfo_list();
if (recordoff >= recordlist->count) {
send_error_receipt(rxheader, kifyhrs_ecode_cmd_not_support);
send_error_receipt(rxheader, kifyhrs_ecode_no_record_find);
return;
}

2
app/src/one_conduction/one_conduction_main.c

@ -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;

Loading…
Cancel
Save