diff --git a/src/comms.cpp b/src/comms.cpp index a05af01..466e171 100644 --- a/src/comms.cpp +++ b/src/comms.cpp @@ -381,6 +381,12 @@ void XDRGTKRoutine() { } byte scanmethod; scanmethod = atol(buff + 1); + + if (band < BAND_GAP) { + stepsize = 0; + ShowStepSize(); + } + if (scanmethod == 1) { DataPrint("C1\n"); direction = false; diff --git a/src/comms.h b/src/comms.h index eef6d0c..187075f 100644 --- a/src/comms.h +++ b/src/comms.h @@ -45,6 +45,7 @@ extern byte iMSEQ; extern byte iMSset; extern byte language; extern byte memorypos; +extern byte stepsize; extern byte subnetclient; extern byte TEF; extern char buff[16]; @@ -135,5 +136,6 @@ extern void updateiMS(); extern void updateEQ(); extern void tftPrint(int8_t offset, const String & text, int16_t x, int16_t y, int color, int smoothcolor, uint8_t fontsize); extern void showAutoSquelch(bool mode); +extern void ShowStepSize(); #endif \ No newline at end of file