si4700: fix typo
Change-Id: I3ebeaf8188fc330921089a148cac1f3ea5740e23 Reviewed-on: http://gerrit.rockbox.org/370 Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
This commit is contained in:
parent
b0263be48e
commit
bece6cb9da
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@
|
||||||
|
|
||||||
/* SYSCONFIG2 (0x5) */
|
/* SYSCONFIG2 (0x5) */
|
||||||
#define SYSCONFIG2_SEEKTH (0xff << 8)
|
#define SYSCONFIG2_SEEKTH (0xff << 8)
|
||||||
#define SYSCONFIG2_SKEETHw(x) (((x) << 8) & SYSCONFIG2_SEEKTH)
|
#define SYSCONFIG2_SEEKTHw(x) (((x) << 8) & SYSCONFIG2_SEEKTH)
|
||||||
#define SYSCONFIG2_BAND (0x3 << 6)
|
#define SYSCONFIG2_BAND (0x3 << 6)
|
||||||
#define SYSCONFIG2_BANDw(x) (((x) << 6) & SYSCONFIG2_BAND)
|
#define SYSCONFIG2_BANDw(x) (((x) << 6) & SYSCONFIG2_BAND)
|
||||||
#define SYSCONFIG2_BANDr(x) (((x) & SYSCONFIG2_BAND) >> 6)
|
#define SYSCONFIG2_BANDr(x) (((x) & SYSCONFIG2_BAND) >> 6)
|
||||||
|
@ -336,7 +336,7 @@ static void si4700_sleep(int snooze)
|
||||||
SYSCONFIG1_BLNDADJ);
|
SYSCONFIG1_BLNDADJ);
|
||||||
|
|
||||||
si4700_write_masked(SYSCONFIG2,
|
si4700_write_masked(SYSCONFIG2,
|
||||||
SYSCONFIG2_SKEETHw(SEEK_THRESHOLD) |
|
SYSCONFIG2_SEEKTHw(SEEK_THRESHOLD) |
|
||||||
SYSCONFIG2_VOLUMEw(0xF),
|
SYSCONFIG2_VOLUMEw(0xF),
|
||||||
SYSCONFIG2_VOLUME | SYSCONFIG2_SEEKTH);
|
SYSCONFIG2_VOLUME | SYSCONFIG2_SEEKTH);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue