diff --git a/main.c b/main.c index 99c6c1e..6b5cfd8 100644 --- a/main.c +++ b/main.c @@ -2599,9 +2599,10 @@ int mySerialReadline(unsigned char *buf, int len) } #endif -// Main thread stack size defined in makefile USE_PROCESS_STACKSIZE = 0x200 -// Profile stack usage (enable threads command by def ENABLE_THREADS_COMMAND) show: -// Stack maximum usage = 472 bytes (need test more and run all commands), free stack = 40 bytes +/* Main thread stack size defined in makefile USE_PROCESS_STACKSIZE = 0x200 + * Profile stack usage (enable threads command by def ENABLE_THREADS_COMMAND) show: + *Stack maximum usage = 472 bytes (need test more and run all commands), free stack = 40 bytes + */ int main(void) { diff --git a/sa_core.c b/sa_core.c index 65c64d8..f5a6e1a 100644 --- a/sa_core.c +++ b/sa_core.c @@ -1799,6 +1799,9 @@ sweep_again: // stay in sweep loop when output mo } #ifdef __DEBUG_AGC__ // For debugging the AGC control stored_t[i] = (SI4432_Read_Byte(0x69) & 0x0f) * 3.0 - 90.0; // Display the AGC value in the stored trace +#endif +#ifdef __DEBUG_SPUR__ // For debugging the spur avoidance control + stored_t[i] = (avoid_spur(frequencies[i]) ? -60.0 : - 90.0); // Display when to do spur shift in the stored trace #endif if (scandirty || setting.average == AV_OFF) { // Level calculations actual_t[i] = RSSI; diff --git a/ui_sa.c b/ui_sa.c index 3357ffd..8b1ee9c 100644 --- a/ui_sa.c +++ b/ui_sa.c @@ -1427,7 +1427,7 @@ static const menuitem_t menu_settings[] = { { MT_CALLBACK | MT_LOW, 5, "\2LO\0OUTPUT",menu_settings2_cb}, { MT_KEYPAD, KM_ACTUALPOWER, "\2ACTUAL\0POWER", NULL}, - { MT_KEYPAD | MT_LOW, KM_IF, "\2IF\0FREQ", NULL}, + { MT_KEYPAD | MT_LOW, KM_IF, "\2IF\0FREQ", "Set to zero for auto IF"}, { MT_SUBMENU,0, "\2SCAN\0SPEED", menu_scanning_speed}, { MT_KEYPAD, KM_REPEAT, "\2SAMPLE\0REPEAT", "1..100"}, { MT_SUBMENU | MT_LOW,0, "\2MIXER\0DRIVE", menu_drive},