diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-01 21:00:31 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-01 21:00:31 +0000 |
commit | fd11471a3f9bfbb5f5bdf22866e861bae56ad8ea (patch) | |
tree | 8a61f852ef81a9dd5950e9ebc9ffb8ac41bf3390 /firmware/target/mips/ingenic_jz47xx/fmradio-i2c-jz4740.c | |
parent | 5212f03124c486239479d75cafb8017d84f63ee9 (diff) |
Onda VX747: try at implementing FM tuner support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21160 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/fmradio-i2c-jz4740.c')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/fmradio-i2c-jz4740.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/fmradio-i2c-jz4740.c b/firmware/target/mips/ingenic_jz47xx/fmradio-i2c-jz4740.c new file mode 100644 index 0000000000..995e3ae875 --- /dev/null +++ b/firmware/target/mips/ingenic_jz47xx/fmradio-i2c-jz4740.c @@ -0,0 +1,37 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2009 by Maurus Cuelenaere + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#include "fmradio_i2c.h" +#include "i2c.h" + +/* fmradio i2c wrappers */ +void fmradio_i2c_init(void) +{ +} + +int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count) +{ + return i2c_write(address, buf, count); +} + +int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count) +{ + return i2c_read(address, buf, count); +} |