Set stepsize to default when using XDRGTK seek function
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user