#1955 Java JDK 22 and Gradle 8.10. Updates SDRPlay API to latest Project Panama FFM API changes. Increment app version to 0.6.1-beta2 (#1958)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
Denny Sheirer
2024-08-31 08:03:34 -04:00
committed by GitHub
parent 130e59f4c1
commit 36e198eb1b
335 changed files with 30503 additions and 17919 deletions

View File

@@ -1,6 +1,6 @@
/*
* *****************************************************************************
* Copyright (C) 2014-2023 Dennis Sheirer
* Copyright (C) 2014-2024 Dennis Sheirer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -275,8 +275,20 @@ public class CalibrationManager
public static void main(String[] args)
{
CalibrationManager manager = getInstance();
// manager.reset();
manager.reset(CalibrationType.WINDOW);
StringBuilder sb = new StringBuilder();
sb.append("Current Calibration Settings:\n");
for(CalibrationType type: CalibrationType.values())
{
Calibration calibration = manager.getCalibration(type);
if(calibration != null)
{
sb.append("\t").append(type.name()).append("\t").append(manager.getCalibration(type).getImplementation()).append("\n");
}
}
System.out.println(sb);
manager.reset();
if(!manager.isCalibrated())
{
@@ -290,6 +302,19 @@ public class CalibrationManager
}
}
StringBuilder sb1 = new StringBuilder();
sb1.append("Updated Calibration Settings:\n");
for(CalibrationType type: CalibrationType.values())
{
Calibration calibration = manager.getCalibration(type);
if(calibration != null)
{
sb1.append("\t").append(type.name()).append("\t").append(manager.getCalibration(type).getImplementation()).append("\n");
}
}
System.out.println(sb1);
System.out.println("Complete");
}
}