Set stepsize to default when using XDRGTK seek function

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-05-31 12:38:50 +02:00
parent b92c3b124e
commit 810119a972
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -381,6 +381,12 @@ void XDRGTKRoutine() {
} }
byte scanmethod; byte scanmethod;
scanmethod = atol(buff + 1); scanmethod = atol(buff + 1);
if (band < BAND_GAP) {
stepsize = 0;
ShowStepSize();
}
if (scanmethod == 1) { if (scanmethod == 1) {
DataPrint("C1\n"); DataPrint("C1\n");
direction = false; direction = false;
+2
View File
@@ -45,6 +45,7 @@ extern byte iMSEQ;
extern byte iMSset; extern byte iMSset;
extern byte language; extern byte language;
extern byte memorypos; extern byte memorypos;
extern byte stepsize;
extern byte subnetclient; extern byte subnetclient;
extern byte TEF; extern byte TEF;
extern char buff[16]; extern char buff[16];
@@ -135,5 +136,6 @@ extern void updateiMS();
extern void updateEQ(); 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 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 showAutoSquelch(bool mode);
extern void ShowStepSize();
#endif #endif