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

Untitled

By: a guest on Jan 26th, 2012  |  syntax: None  |  size: 0.47 KB  |  views: 45  |  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/as3525/button-clip.c b/firmware/target/arm/as3525/button-clip.c
  2. index 18bac8a..9b8a2c3 100644
  3. --- a/firmware/target/arm/as3525/button-clip.c
  4. +++ b/firmware/target/arm/as3525/button-clip.c
  5. @@ -61,8 +61,11 @@ void button_init_device(void)
  6.  
  7.      /* get initial readings */
  8.      button_read_device();
  9. +    sleep(1);
  10.      button_read_device();
  11. +    sleep(1);
  12.      button_read_device();
  13. +    sleep(1);
  14.  }
  15.  
  16.  int button_read_device(void)
clone this paste RAW Paste Data