@@ -85,7 +85,7 @@ void pulse_data_print_vcd_header(FILE *file, uint32_t sample_rate)
85
85
timescale = "1 us" ;
86
86
else
87
87
timescale = "100 ns" ;
88
- chk_ret (fprintf (file , "$date %s $end\n" , format_time_str (time_str , NULL , 0 , 0 )));
88
+ chk_ret (fprintf (file , "$date %s $end\n" , usecs_time_str (time_str , NULL , 0 , 0 )));
89
89
chk_ret (fprintf (file , "$version rtl_433 0.1.0 $end\n" ));
90
90
chk_ret (fprintf (file , "$comment Acquisition at %s Hz $end\n" , nice_freq (sample_rate )));
91
91
chk_ret (fprintf (file , "$timescale %s $end\n" , timescale ));
@@ -176,7 +176,7 @@ void pulse_data_print_pulse_header(FILE *file)
176
176
chk_ret (fprintf (file , ";version 1\n" ));
177
177
chk_ret (fprintf (file , ";timescale 1us\n" ));
178
178
// chk_ret(fprintf(file, ";samplerate %u\n", data->sample_rate));
179
- chk_ret (fprintf (file , ";created %s\n" , format_time_str (time_str , NULL , 1 , 0 )));
179
+ chk_ret (fprintf (file , ";created %s\n" , usecs_time_str (time_str , NULL , 1 , 0 )));
180
180
}
181
181
182
182
void pulse_data_dump (FILE * file , pulse_data_t const * data )
@@ -187,7 +187,7 @@ void pulse_data_dump(FILE *file, pulse_data_t const *data)
187
187
188
188
char time_str [LOCAL_TIME_BUFLEN ];
189
189
190
- chk_ret (fprintf (file , ";received %s\n" , format_time_str (time_str , NULL , 1 , 0 )));
190
+ chk_ret (fprintf (file , ";received %s\n" , usecs_time_str (time_str , NULL , 1 , 0 )));
191
191
if (data -> fsk_f2_est ) {
192
192
chk_ret (fprintf (file , ";fsk %u pulses\n" , data -> num_pulses ));
193
193
chk_ret (fprintf (file , ";freq1 %.0f\n" , data -> freq1_hz ));
0 commit comments