Advertising
- Miscellany
- Wednesday, May 9th, 2007 at 8:39:39am MDT
- /* Read scroller */
- if ( GPIOD_INPUT_VAL & 0x20 )
- {
- GPIOD_OUTPUT_VAL &=~ 0x40;
- udelay(50);
- data = adc_scan(ADC_SCROLLPAD);
- udelay(50);
- data1 = adc_scan(ADC_SCROLLPAD);
- GPIOD_OUTPUT_VAL |= 0x40;
- data_avg = ((data+data1)/0x2)
- target/arm/iriver/h10/button-h10.c: In function button_read_device:
- target/arm/iriver/h10/button-h10.c:113: error: syntax error before if
- target/arm/iriver/h10/button-h10.c:72: warning: unused variable remote_hold_button_old
- target/arm/iriver/h10/button-h10.c:70: warning: unused variable remote_hold_button
- target/arm/iriver/h10/button-h10.c:129: warning: control reaches end of non-void function
- target/arm/iriver/h10/button-h10.c: At top level:
- target/arm/iriver/h10/button-h10.c:130: error: syntax error before } token
- target/arm/iriver/h10/button-h10.c:133: warning: type defaults to int in declaration of remote_hold_button_old
- target/arm/iriver/h10/button-h10.c:133: error: remote_hold_button undeclared here (not in a function)
- target/arm/iriver/h10/button-h10.c:133: warning: data definition has no type or storage class
- target/arm/iriver/h10/button-h10.c:135: warning: type defaults to int in declaration of data
- target/arm/iriver/h10/button-h10.c:135: error: initializer element is not constant
- target/arm/iriver/h10/button-h10.c:135: warning: data definition has no type or storage class
- target/arm/iriver/h10/button-h10.c:136: warning: type defaults to int in declaration of remote_hold_button
- target/arm/iriver/h10/button-h10.c:136: error: initializer element is not constant
- target/arm/iriver/h10/button-h10.c:136: warning: data definition has no type or storage class
- target/arm/iriver/h10/button-h10.c:139: error: syntax error before if
- target/arm/iriver/h10/button-h10.c:164: warning: type defaults to int in declaration of lastbtn
- target/arm/iriver/h10/button-h10.c:164: error: btn undeclared here (not in a function)
- target/arm/iriver/h10/button-h10.c:164: warning: data definition has no type or storage class
- target/arm/iriver/h10/button-h10.c:165: error: syntax error before return
- make[1]: *** [/mnt/other/rockbox/build/h10_5gb_normal/firmware/target/arm/iriver/h10/button-h10.o] Error 1
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.