mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 13:08:36 -07:00
fix PR #550
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
#include "spectrum_analyzer_worker.h"
|
#include "spectrum_analyzer_worker.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint16_t center_freq;
|
uint32_t center_freq;
|
||||||
uint8_t width;
|
uint8_t width;
|
||||||
uint8_t band;
|
uint8_t band;
|
||||||
uint8_t vscroll;
|
uint8_t vscroll;
|
||||||
@@ -447,7 +447,7 @@ int32_t spectrum_analyzer_app(void* p) {
|
|||||||
SpectrumAnalyzerModel* model = spectrum_analyzer->model;
|
SpectrumAnalyzerModel* model = spectrum_analyzer->model;
|
||||||
|
|
||||||
uint8_t vstep = VERTICAL_SHORT_STEP;
|
uint8_t vstep = VERTICAL_SHORT_STEP;
|
||||||
uint8_t hstep;
|
uint32_t hstep;
|
||||||
|
|
||||||
bool exit_loop = false;
|
bool exit_loop = false;
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
#define WIDE_STEP 5000
|
#define WIDE_STEP 5000
|
||||||
#define NARROW_STEP 1000
|
#define NARROW_STEP 1000
|
||||||
#define ULTRAWIDE_STEP 20000
|
#define ULTRAWIDE_STEP 20000
|
||||||
#define ULTRANARROW_STEP 1000
|
#define ULTRANARROW_STEP 500
|
||||||
#define PRECISE_STEP 100
|
#define PRECISE_STEP 100
|
||||||
|
|
||||||
/* margin in KHz */
|
/* margin in KHz */
|
||||||
|
|||||||
Reference in New Issue
Block a user