mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-09 00:13:41 +00:00
Mode switch to signal generator (GUI stubs only)
This commit is contained in:
parent
6e82bc42f5
commit
f4a6b24a8e
19 changed files with 1132 additions and 311 deletions
|
|
@ -396,7 +396,7 @@ bool TraceBodePlot::supported(Trace *t, TraceBodePlot::YAxisType type)
|
|||
|
||||
void TraceBodePlot::updateXAxis()
|
||||
{
|
||||
if(XAxis.autorange) {
|
||||
if(XAxis.autorange && sweep_fmax-sweep_fmin > 0) {
|
||||
QList<double> tickList;
|
||||
for(double tick = sweep_fmin;tick <= sweep_fmax;tick+= (sweep_fmax-sweep_fmin)/10) {
|
||||
tickList.append(tick);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue