Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Wednesday, May 9th, 2007 at 2:39:39pm UTC 

  1. /* Read scroller */
  2.         if ( GPIOD_INPUT_VAL & 0x20 )
  3.         {
  4.             GPIOD_OUTPUT_VAL &=~ 0x40;
  5.             udelay(50);
  6.             data = adc_scan(ADC_SCROLLPAD);
  7.             udelay(50);
  8.             data1 = adc_scan(ADC_SCROLLPAD);
  9.             GPIOD_OUTPUT_VAL |= 0x40;
  10.             data_avg = ((data+data1)/0x2)
  11.  
  12. target/arm/iriver/h10/button-h10.c: In function ‘button_read_device’:
  13. target/arm/iriver/h10/button-h10.c:113: error: syntax error before ‘if’
  14. target/arm/iriver/h10/button-h10.c:72: warning: unused variable ‘remote_hold_button_old’
  15. target/arm/iriver/h10/button-h10.c:70: warning: unused variable ‘remote_hold_button’
  16. target/arm/iriver/h10/button-h10.c:129: warning: control reaches end of non-void function
  17. target/arm/iriver/h10/button-h10.c: At top level:
  18. target/arm/iriver/h10/button-h10.c:130: error: syntax error before ‘}’ token
  19. target/arm/iriver/h10/button-h10.c:133: warning: type defaults to ‘int’ in declaration of ‘remote_hold_button_old’
  20. target/arm/iriver/h10/button-h10.c:133: error: ‘remote_hold_button’ undeclared here (not in a function)
  21. target/arm/iriver/h10/button-h10.c:133: warning: data definition has no type or storage class
  22. target/arm/iriver/h10/button-h10.c:135: warning: type defaults to ‘int’ in declaration of ‘data’
  23. target/arm/iriver/h10/button-h10.c:135: error: initializer element is not constant
  24. target/arm/iriver/h10/button-h10.c:135: warning: data definition has no type or storage class
  25. target/arm/iriver/h10/button-h10.c:136: warning: type defaults to ‘int’ in declaration of ‘remote_hold_button’
  26. target/arm/iriver/h10/button-h10.c:136: error: initializer element is not constant
  27. target/arm/iriver/h10/button-h10.c:136: warning: data definition has no type or storage class
  28. target/arm/iriver/h10/button-h10.c:139: error: syntax error before ‘if’
  29. target/arm/iriver/h10/button-h10.c:164: warning: type defaults to ‘int’ in declaration of ‘lastbtn’
  30. target/arm/iriver/h10/button-h10.c:164: error: ‘btn’ undeclared here (not in a function)
  31. target/arm/iriver/h10/button-h10.c:164: warning: data definition has no type or storage class
  32. target/arm/iriver/h10/button-h10.c:165: error: syntax error before ‘return’
  33. make[1]: *** [/mnt/other/rockbox/build/h10_5gb_normal/firmware/target/arm/iriver/h10/button-h10.o] Error 1

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right