100kHz scan speed improvement

tinySA-v0.2
erikkaashoek 6 years ago
parent 7f43e46fd9
commit 27b183ccb1

@ -55,7 +55,7 @@ endif
############################################################################## ##############################################################################
ifeq ($(VERSION),) ifeq ($(VERSION),)
VERSION="$(shell git describe --tags)" VERSION="tinySA$(shell git describe --tags)"
endif endif
############################################################################## ##############################################################################

@ -503,7 +503,8 @@ void apply_settings(void)
SI4432_SetReference(setting.refer); SI4432_SetReference(setting.refer);
update_rbw(); update_rbw();
if (setting.step_delay < 2){ if (setting.step_delay < 2){
if (actual_rbw > 90.0) actualStepDelay = 400; 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 > 75.0) actualStepDelay = 550;
else if (actual_rbw > 56.0) actualStepDelay = 650; else if (actual_rbw > 56.0) actualStepDelay = 650;
else if (actual_rbw > 37.0) actualStepDelay = 700; else if (actual_rbw > 37.0) actualStepDelay = 700;

@ -1505,9 +1505,6 @@ const menuitem_t menu_tophigh[] =
#endif #endif
// ===[MENU DEFINITION END]====================================================== // ===[MENU DEFINITION END]======================================================
#undef BOARD_NAME
#define BOARD_NAME "tinySA"
#define ACTIVE_COLOR RGBHEX(0x007FFF) #define ACTIVE_COLOR RGBHEX(0x007FFF)
void frequency_string(char *buf, size_t len, int32_t freq); void frequency_string(char *buf, size_t len, int32_t freq);

Loading…
Cancel
Save

Powered by TurnKey Linux.