diff options
author | Christian Pointner <equinox@mur.at> | 2013-03-05 04:00:48 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2013-03-05 04:00:48 +0000 |
commit | 91516c0d106ec1dfb5cc0251d84f73b5a9caae3a (patch) | |
tree | c08d4d0254c14b7720f51c4159ed5f93f64aaa28 | |
parent | fixed micro usb footprint (diff) |
rda1846dongle: fixed addr vs. data
git-svn-id: https://svn.spreadspace.org/mur.sat@693 7de4ea59-55d0-425e-a1af-a3118ea81d4c
-rw-r--r-- | software/rda1846dongle/rda1846.c | 4 |
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) |