Skip to content

Commit 906de7d

Browse files
committed
fix PR #550
1 parent 3f08d86 commit 906de7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

applications/external/spectrum_analyzer/spectrum_analyzer.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "spectrum_analyzer_worker.h"
1111

1212
typedef struct {
13-
uint16_t center_freq;
13+
uint32_t center_freq;
1414
uint8_t width;
1515
uint8_t band;
1616
uint8_t vscroll;
@@ -447,7 +447,7 @@ int32_t spectrum_analyzer_app(void* p) {
447447
SpectrumAnalyzerModel* model = spectrum_analyzer->model;
448448

449449
uint8_t vstep = VERTICAL_SHORT_STEP;
450-
uint8_t hstep;
450+
uint32_t hstep;
451451

452452
bool exit_loop = false;
453453

applications/external/spectrum_analyzer/spectrum_analyzer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define WIDE_STEP 5000
4242
#define NARROW_STEP 1000
4343
#define ULTRAWIDE_STEP 20000
44-
#define ULTRANARROW_STEP 1000
44+
#define ULTRANARROW_STEP 500
4545
#define PRECISE_STEP 100
4646

4747
/* margin in KHz */

0 commit comments

Comments
 (0)