Skip to content

Commit

Permalink
fix OpenHantek#123 - change minimal holdOff time between capture bloc…
Browse files Browse the repository at this point in the history
…ks to lower CPU load

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
  • Loading branch information
Ho-Ro committed Oct 5, 2020
1 parent 16a52e8 commit 81864f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openhantek/src/OH_BUILD.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Do not edit, will be re-created at each commit!
#define OH_BUILD "20200930 build 735"
#define OH_BUILD "20201005 build 736"
4 changes: 2 additions & 2 deletions openhantek/src/configdialog/DsoConfigScopePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ DsoConfigScopePage::DsoConfigScopePage( DsoSettings *settings, QWidget *parent )
acquireIntervalSiSpinBox = new SiSpinBox();
acquireIntervalSiSpinBox = new SiSpinBox( UNIT_SECONDS );
acquireIntervalSiSpinBox->setSteps( timebaseSteps );
acquireIntervalSiSpinBox->setMinimum( 500e-6 ); // double 500 µs -> unsigned 0 ms delay
acquireIntervalSiSpinBox->setMaximum( 50e-3 ); // 50 ms delay
acquireIntervalSiSpinBox->setMinimum( 1e-3 ); // minimal 1 ms holdOff
acquireIntervalSiSpinBox->setMaximum( 100e-3 ); // up to 100 ms holdOff
acquireIntervalSiSpinBox->setValue( settings->scope.horizontal.acquireInterval );

horizontalLayout = new QGridLayout();
Expand Down

0 comments on commit 81864f6

Please sign in to comment.