Added check for double PI in memory scanner

Added sensitivity setting in both DX mode and auto memory menu
This commit is contained in:
Sjef Verhoeven PE5PVB
2024-08-06 16:01:35 +02:00
parent 33181a5cce
commit 972424b8d7
5 changed files with 226 additions and 29 deletions
+9 -4
View File
@@ -209,9 +209,9 @@
#define EE_CHECKBYTE_VALUE 10 // 0 ~ 255,add new entry, change for new value
#define EE_PRESETS_FREQUENCY 0 // Default value when memory channel should be skipped!
#ifdef HAS_AIR_BAND
#define EE_TOTAL_CNT 2235 // Total occupied eeprom bytes
#define EE_TOTAL_CNT 2236 // Total occupied eeprom bytes
#else
#define EE_TOTAL_CNT 2229 // Total occupied eeprom bytes
#define EE_TOTAL_CNT 2230 // Total occupied eeprom bytes
#endif
#define EE_PRESETS_BAND_START 0 // 99 * 1 byte
@@ -319,9 +319,10 @@
#define EE_BYTE_MEMSTARTPOS 2226
#define EE_BYTE_MEMSTOPPOS 2227
#define EE_BYTE_MEMPIONLY 2228
#define EE_BYTE_MEMDOUBLEPI 2229
#ifdef HAS_AIR_BAND
#define EE_BYTE_AIRSTEPSIZE 2229
#define EE_UINT16_FREQUENCY_AIR 2230
#define EE_BYTE_AIRSTEPSIZE 2230
#define EE_UINT16_FREQUENCY_AIR 2231
#endif
// End of EEPROM index defines
@@ -344,6 +345,10 @@ enum LONGBANDBUTTONPRESS {
STANDBY = 0, SCREENOFF
};
enum AUTOMEMPIMODES {
MEMPI_OFF = 0, MEMPI_RANGE, MEMPI_FULL
};
enum SCAN_CANCEL {
SCAN_CANCEL = OFF, CORRECTPI, SIGNAL
};