skullandbones / uTmax

uTmax Linux GUI program for the uTracer3 Thermionic Valve Tester
4 stars 3 forks source link

mainwindow: Add checks to accessing calibration file #8

Closed skullandbones closed 7 years ago

skullandbones commented 7 years ago

Writing and reading the calibration file has insufficient checks. Therefore, add checks and debug to assist with diagnosis.

Move the 2 adc_scale lines inside ReadCalibration() because the adc_scale values are dependent on the calibration information.

Signed-off-by: Dean Jenkins skullandbones99@gmail.com