diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-14 08:54:54 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-14 08:54:54 +0000 |
commit | 8a6291dd63063bea12805a41fd43f13c17aa2be5 (patch) | |
tree | da36f06943a24c9eb02e533fac3a825bd0f8e7d1 /firmware/target/coldfire/iaudio/m3/button-m3.c | |
parent | 422454c87dda5d2766788d3a5a9c1a0544da9e84 (diff) | |
download | rockbox-8a6291dd63063bea12805a41fd43f13c17aa2be5.tar.gz rockbox-8a6291dd63063bea12805a41fd43f13c17aa2be5.zip |
More iAudio M3 work. Target build compiles, but same problem regarding plugins as the simulator. Boots to the menu, but it can't be used yet because only main & remote Play button work. USB works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16660 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iaudio/m3/button-m3.c')
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/button-m3.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/firmware/target/coldfire/iaudio/m3/button-m3.c b/firmware/target/coldfire/iaudio/m3/button-m3.c index 1a27af93f5..b5b09807c0 100644 --- a/firmware/target/coldfire/iaudio/m3/button-m3.c +++ b/firmware/target/coldfire/iaudio/m3/button-m3.c | |||
@@ -54,12 +54,6 @@ int button_read_device(void) | |||
54 | hold_button_old = hold_button; | 54 | hold_button_old = hold_button; |
55 | hold_button = button_hold(); | 55 | hold_button = button_hold(); |
56 | 56 | ||
57 | #ifndef BOOTLOADER | ||
58 | /* give BL notice if HB state chaged */ | ||
59 | if (hold_button != hold_button_old) | ||
60 | backlight_hold_changed(hold_button); | ||
61 | #endif | ||
62 | |||
63 | if (!hold_button) | 57 | if (!hold_button) |
64 | { | 58 | { |
65 | #if 0 /* TODO: implement ADC */ | 59 | #if 0 /* TODO: implement ADC */ |
@@ -83,7 +77,7 @@ int button_read_device(void) | |||
83 | 77 | ||
84 | #ifndef BOOTLOADER | 78 | #ifndef BOOTLOADER |
85 | if (remote_hold_button != remote_hold_button_old) | 79 | if (remote_hold_button != remote_hold_button_old) |
86 | remote_backlight_hold_changed(remote_hold_button); | 80 | backlight_hold_changed(remote_hold_button); |
87 | #endif | 81 | #endif |
88 | 82 | ||
89 | if (!remote_hold_button) | 83 | if (!remote_hold_button) |