kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Untested bugfix for "cannot set datarecord..." error.
rodzic
504d8b9cc9
commit
76b5ae64b2
2
edflib.c
2
edflib.c
|
@ -3922,7 +3922,7 @@ int edf_set_micro_datarecord_duration(int handle, int duration)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if((duration < 1) || (duration > 99))
|
||||
if((duration < 1) || (duration > 9999))
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
|
2
global.h
2
global.h
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
#define PROGRAM_NAME "DSRemote"
|
||||
#define PROGRAM_VERSION "0.35_1906241731"
|
||||
#define PROGRAM_VERSION "0.35_1907241008"
|
||||
|
||||
#define MAX_PATHLEN 4096
|
||||
|
||||
|
|
|
@ -644,7 +644,7 @@ void UI_Mainwindow::save_wave_inspector_buffer_to_edf(struct device_settings *d_
|
|||
|
||||
// printf("rec_len: %lli datrecs: %i datrecduration: %lli\n", rec_len, datrecs, datrecduration);
|
||||
|
||||
if(datrecduration < 100LL)
|
||||
if(datrecduration < 10000LL)
|
||||
{
|
||||
if(edf_set_micro_datarecord_duration(hdl, datrecduration))
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue