Advertisement
Guest User

Untitled

a guest
Nov 19th, 2011
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. rejected hunk:
  2.  
  3. --- softusb-input/main.c
  4. +++ softusb-input/main.c
  5. @@ -696,9 +708,11 @@
  6. for(i=0;i<128;i++)
  7. asm("nop");
  8.  
  9. +#ifndef TRIGGER
  10. wio8(SIE_SEL_RX, 0);
  11. wio8(SIE_SEL_TX, 0x01);
  12. port_service(&port_a, 'A');
  13. +#endif
  14.  
  15. wio8(SIE_SEL_RX, 1);
  16. wio8(SIE_SEL_TX, 0x02);
  17.  
  18. my file:
  19.  
  20. /*
  21. * wait extra time to allow the USB cable
  22. * capacitance to discharge (otherwise some disconnects
  23. * aren't properly detected)
  24. */
  25. for(i=0;i<128;i++)
  26. asm("nop");
  27.  
  28. wio8(SIE_SEL_RX, 0);
  29. wio8(SIE_SEL_TX, 0x01);
  30. port_service(&port_a, 'A');
  31.  
  32. wio8(SIE_SEL_RX, 1);
  33. wio8(SIE_SEL_TX, 0x02);
  34. port_service(&port_b, 'B');
  35.  
  36. /* set RX speed for new detected devices */
  37. set_rx_speed();
  38.  
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement