Commit 61383443 authored by David Košenina's avatar David Košenina

frequency divider initialization, calibration voltage step delta

parent 150b2533
......@@ -423,6 +423,8 @@ void OsciloskopOsciloskop::onActivate(wxActivateEvent& event)
icoBundle.AddIcon(icon128);
icoBundle.AddIcon(icon512);
SetIcons(icoBundle);
m_textCtrlFreqDividerOnTextEnter(version2);
}
}
......
......@@ -3092,7 +3092,7 @@ void OsciloscopeManager::onCallibrateFrameCaptured(OsciloscopeFrame& frame, int
}
else
{
double delta = (callibrate.stepMax - callibrate.stepMin) / 2.0;
double delta = (callibrate.stepMax - callibrate.stepMin) / 4.0;
if(abs(callibrate.stepMeasuredOffsetValue) >= settings.getHardware()->referenceStepMax)
{
callibrate.stepMax -= delta;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment