This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8790 - Exit battery debug menu with standard context cancel button
Attached to Project:
Rockbox
Opened by Bertrik Sikken (bertrik) - Sunday, 23 March 2008, 19:07 GMT+2
Last edited by Bertrik Sikken (bertrik) - Tuesday, 22 April 2008, 21:10 GMT+2
Opened by Bertrik Sikken (bertrik) - Sunday, 23 March 2008, 19:07 GMT+2
Last edited by Bertrik Sikken (bertrik) - Tuesday, 22 April 2008, 21:10 GMT+2
|
DetailsAll debug menus on my sansa e260 can be exited by a left-button press, except the battery menu. This patch fixes that to make it behave like the other debug menus.
|
This task depends upon
Closed by Bertrik Sikken (bertrik)
Tuesday, 22 April 2008, 21:10 GMT+2
Reason for closing: Accepted
Additional comments about closing: Initial patch committed. Second part skipped as discussed in my last comment.
Tuesday, 22 April 2008, 21:10 GMT+2
Reason for closing: Accepted
Additional comments about closing: Initial patch committed. Second part skipped as discussed in my last comment.
if (button_get_w_tmo(HZ/10) == (DEBUG_CANCEL|BUTTON_REL))
with line
if (get_action(CONTEXT_STD,HZ/10) == ACTION_STD_CANCEL)
This actually makes the code smaller because it allows the removal of locally defined model specific #defines for DEBUG_CANCEL.