diff options
Diffstat (limited to 'firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c')
-rw-r--r-- | firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c index 654095c2f5..6ca64a0437 100644 --- a/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c +++ b/firmware/target/arm/gigabeat/meg-fx/sc606-meg-fx.c | |||
@@ -151,7 +151,7 @@ static unsigned char sc606_i2c_inb(void) | |||
151 | /* returns number of acks that were bad */ | 151 | /* returns number of acks that were bad */ |
152 | int sc606_write(unsigned char reg, unsigned char data) | 152 | int sc606_write(unsigned char reg, unsigned char data) |
153 | { | 153 | { |
154 | int x = 0; | 154 | int x; |
155 | 155 | ||
156 | sc606_i2c_start(); | 156 | sc606_i2c_start(); |
157 | 157 | ||
@@ -178,7 +178,7 @@ int sc606_write(unsigned char reg, unsigned char data) | |||
178 | 178 | ||
179 | int sc606_read(unsigned char reg, unsigned char* data) | 179 | int sc606_read(unsigned char reg, unsigned char* data) |
180 | { | 180 | { |
181 | int x = 0; | 181 | int x; |
182 | 182 | ||
183 | sc606_i2c_start(); | 183 | sc606_i2c_start(); |
184 | sc606_i2c_outb(SLAVE_ADDRESS); | 184 | sc606_i2c_outb(SLAVE_ADDRESS); |