diff --git a/Makefile b/Makefile index 2e5c0c6..d54b2a1 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ endif ############################################################################## ifeq ($(VERSION),) - VERSION="$(shell git describe --tags)" + VERSION="tinySA$(shell git describe --tags)" endif ############################################################################## diff --git a/sa_core.c b/sa_core.c index 89d40c6..d1af910 100644 --- a/sa_core.c +++ b/sa_core.c @@ -503,16 +503,17 @@ void apply_settings(void) SI4432_SetReference(setting.refer); update_rbw(); if (setting.step_delay < 2){ - if (actual_rbw > 90.0) actualStepDelay = 400; - else if (actual_rbw > 75.0) actualStepDelay = 550; - else if (actual_rbw > 56.0) actualStepDelay = 650; - else if (actual_rbw > 37.0) actualStepDelay = 700; - else if (actual_rbw > 18.0) actualStepDelay = 1100; - else if (actual_rbw > 9.0) actualStepDelay = 2000; - else if (actual_rbw > 5.0) actualStepDelay = 3500; - else actualStepDelay = 6000; - if (setting.step_delay == 1) - actualStepDelay *= 2; + if (actual_rbw > 200.0) actualStepDelay = 400; + else if (actual_rbw > 90.0) actualStepDelay = 500; + else if (actual_rbw > 75.0) actualStepDelay = 550; + else if (actual_rbw > 56.0) actualStepDelay = 650; + else if (actual_rbw > 37.0) actualStepDelay = 700; + else if (actual_rbw > 18.0) actualStepDelay = 1100; + else if (actual_rbw > 9.0) actualStepDelay = 2000; + else if (actual_rbw > 5.0) actualStepDelay = 3500; + else actualStepDelay = 6000; + if (setting.step_delay == 1) + actualStepDelay *= 2; } else actualStepDelay = setting.step_delay; } diff --git a/ui_sa.c b/ui_sa.c index 258e2f3..19a2c96 100644 --- a/ui_sa.c +++ b/ui_sa.c @@ -1505,9 +1505,6 @@ const menuitem_t menu_tophigh[] = #endif // ===[MENU DEFINITION END]====================================================== -#undef BOARD_NAME -#define BOARD_NAME "tinySA" - #define ACTIVE_COLOR RGBHEX(0x007FFF) void frequency_string(char *buf, size_t len, int32_t freq);