diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/coldfire/iriver/h100/adc-h100.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/firmware/target/coldfire/iriver/h100/adc-h100.c b/firmware/target/coldfire/iriver/h100/adc-h100.c index fb5afce9f5..777ab2ff73 100644 --- a/firmware/target/coldfire/iriver/h100/adc-h100.c +++ b/firmware/target/coldfire/iriver/h100/adc-h100.c @@ -35,15 +35,15 @@ static unsigned char adcdata[NUM_ADC_CHANNELS]; /* delay loop */ #define DELAY \ - ({ \ - int _x_; \ - asm volatile ( \ - "move.l #9, %[_x_] \r\n" \ - "1: \r\n" \ - "subq.l #1, %[_x_] \r\n" \ - "bhi.b 1b \r\n" \ - : [_x_]"=&d"(_x_) \ - ); \ + ({ \ + int _x_; \ + asm volatile ( \ + "move.l #11, %[_x_] \r\n" \ + "1: \r\n" \ + "subq.l #1, %[_x_] \r\n" \ + "bhi.b 1b \r\n" \ + : [_x_]"=&d"(_x_) \ + ); \ }) unsigned short adc_scan(int channel) |