Want more features on Pastebin? Sign Up, it's FREE!
Guest

H10_remote_disable.diff

By: a guest on Jan 13th, 2013  |  syntax: C  |  size: 0.64 KB  |  views: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/firmware/target/arm/iriver/h10/button-h10.c b/firmware/target/arm/iriver/h10/button-h10.c
  2. index 6710f39..abda0f6 100644
  3. --- a/firmware/target/arm/iriver/h10/button-h10.c
  4. +++ b/firmware/target/arm/iriver/h10/button-h10.c
  5. @@ -111,7 +111,8 @@ int button_read_device(void)
  6.              }
  7.          }
  8.      }
  9. -    
  10. +
  11. +#if 0    
  12.      /* remote buttons */
  13.      remote_hold_button_old = remote_hold_button;
  14.  
  15. @@ -143,6 +144,7 @@ int button_read_device(void)
  16.      /* remote play button should be dead if hold */
  17.      if (!remote_hold_button && !(GPIOA_INPUT_VAL & 0x1))
  18.          btn |= BUTTON_RC_PLAY;
  19. +#endif
  20.      
  21.      return btn;
  22.  }
clone this paste RAW Paste Data