• Status Closed
  • Percent Complete
  • 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 mc2739 - 2009-11-20
Last edited by mc2739 - 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  mc2739
2009-11-21 21:17
Reason for closing:  Accepted
Additional comments about closing:  

commited in r23686

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

Thanks, here is the updated patch.



Available keyboard shortcuts


Task Details

Task Editing