Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Drivers
  • Assigned To No-one
  • Operating System Another
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Michael Chicoine - 2009-11-20
Last edited by Michael Chicoine - 2009-11-21

FS#10796 - Clip - prevent power switch activation when coming out of hold

This patch prevents power switch activation when coming out of hold by not allowing the power GPIO to be read until 1 second has passed since the hold switch has been released.

Closed by  Michael Chicoine
2009-11-21 21:17
Reason for closing:  Accepted
Additional comments about closing:  

commited in r23686

Thomas Martitz commented on 2009-11-20 20:47

Looks good, except that you seem to cause big breakage :) You need { } around the if (button_hold()), otherwise it will always return 0.

Michael Chicoine commented on 2009-11-20 21:11

Thanks, here is the updated patch.

Rafaël Carré commented on 2009-11-20 23:05

ok

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing