From 91516c0d106ec1dfb5cc0251d84f73b5a9caae3a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 5 Mar 2013 04:00:48 +0000 Subject: rda1846dongle: fixed addr vs. data git-svn-id: https://svn.spreadspace.org/mur.sat@693 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/rda1846dongle/rda1846.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'software/rda1846dongle') 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) -- cgit v1.2.3