summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
Diffstat (limited to 'software')
-rw-r--r--software/rda1846dongle/rda1846.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/software/rda1846dongle/rda1846.c b/software/rda1846dongle/rda1846.c
index 187f598..6c14aae 100644
--- a/software/rda1846dongle/rda1846.c
+++ b/software/rda1846dongle/rda1846.c
@@ -133,8 +133,8 @@ void rda1846_init(void)
// set crystal frequency (12.288 MHz)
rda1846_write_register(RDA1846_REG_XTAL, RDA1846_XTAL_FREQ);
- rda1846_write_register(RDA1846_ADCLK_FREQ, RDA1846_REG_ADCLK);
- rda1846_write_register(RDA1846_CLK_MODE, RDA1846_REG_CLK_MODE);
+ rda1846_write_register(RDA1846_REG_ADCLK, RDA1846_ADCLK_FREQ);
+ rda1846_write_register(RDA1846_REG_CLK_MODE, RDA1846_CLK_MODE);
}
int32_t rda1846_get_freq_kHz(void)