Selftest requires ext_gain 0

pull/96/head
erikkaashoek 1 year ago committed by Bohdan Kmit
parent 015d8f8615
commit abb2fce84c

@ -24,7 +24,7 @@
#include "nanovna.h" #include "nanovna.h"
#pragma GCC push_options #pragma GCC push_options
#pragma GCC optimize ("Og") // Makes the code just a bit faster, disable during debugging. #pragma GCC optimize ("Os") // Makes the code just a bit faster, disable during debugging.
#ifdef __SCROLL__ #ifdef __SCROLL__
uint16_t _grid_y = (CHART_BOTTOM / NGRIDY); uint16_t _grid_y = (CHART_BOTTOM / NGRIDY);

@ -7069,6 +7069,7 @@ void self_test(int test)
goto quit; goto quit;
} }
#endif #endif
setting.external_gain = 0; // Must be 0
// set_sweep_points(POINTS_COUNT); // set_sweep_points(POINTS_COUNT);
if (test == 0) { if (test == 0) {
if (test_wait ) { if (test_wait ) {

Loading…
Cancel
Save

Powered by TurnKey Linux.