Meizu: fix mask for GPIO function selection used for fmradio

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22076 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-07-27 23:06:31 +00:00
parent d0a132a7a4
commit 30e3350030

View file

@ -38,10 +38,10 @@
#define I2C_SCL_PIN 4
#define I2C_SDA_PIN 2
#define SCL_DIR_MASK (3<<(4*I2C_SCL_PIN))
#define SCL_DIR_MASK (0xF<<(4*I2C_SCL_PIN))
#define SCL_DIR_OUT (1<<(4*I2C_SCL_PIN))
#define SCL_DIR_IN 0
#define SDA_DIR_MASK (3<<(4*I2C_SDA_PIN))
#define SDA_DIR_MASK (0xF<<(4*I2C_SDA_PIN))
#define SDA_DIR_OUT (1<<(4*I2C_SDA_PIN))
#define SDA_DIR_IN 0