diff options
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clipplus/button-clip.c | 11 | ||||
-rw-r--r-- | firmware/target/arm/as3525/sansa-clipplus/button-target.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-clip.c b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c index 5b4af70c80..6514346654 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/button-clip.c +++ b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c @@ -33,21 +33,10 @@ void button_init_device(void) GPIOB_DIR |= (1<<0); /* Pin B0 set output */ } -bool button_hold(void) -{ - /* TODO OF uses long home(A1) press. Just return false for now */ - return false; -} - int button_read_device(void) { int buttons = 0; - /* TODO No hold button Hold toggled by long home(A1) press in OF */ - if(button_hold()) - { - return 0; - } /* Buttons do not appear to need reset */ /* D6 needs special handling though */ diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-target.h b/firmware/target/arm/as3525/sansa-clipplus/button-target.h index 69f5d984ba..c341a94220 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/button-target.h +++ b/firmware/target/arm/as3525/sansa-clipplus/button-target.h @@ -27,7 +27,6 @@ void button_init_device(void); int button_read_device(void); -bool button_hold(void); /* Main unit's buttons */ #define BUTTON_HOME 0x00000001 |