Skip to content

Commit 396f1ac

Browse files
authored
Merge pull request #18 from RogueMaster/patch-1
Skorp/subghz cc1120 Patched
2 parents d76af06 + 8957ac3 commit 396f1ac

File tree

108 files changed

+22305
-1228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+22305
-1228
lines changed

applications/spectrum_analyzer/spectrum_analyzer_worker.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct SpectrumAnalyzerWorker {
2525

2626
/* set the channel bandwidth */
2727
void spectrum_analyzer_worker_set_filter(SpectrumAnalyzerWorker* instance) {
28-
uint8_t filter_config[2][2] = {
28+
uint16_t filter_config[2][2] = {
2929
{CC1101_MDMCFG4, 0},
3030
{0, 0},
3131
};
@@ -60,7 +60,7 @@ static int32_t spectrum_analyzer_worker_thread(void* context) {
6060
furi_hal_subghz_flush_rx();
6161
furi_hal_subghz_rx();
6262

63-
static const uint8_t radio_config[][2] = {
63+
static const uint16_t radio_config[][2] = {
6464
{CC1101_FSCTRL1, 0x12},
6565
{CC1101_FSCTRL0, 0x00},
6666

0 commit comments

Comments
 (0)