Opened 7 years ago

Closed 7 years ago

Last modified 2 years ago

#6478 closed defect (fixed)

gpio_buttons.c bug

Reported by: nunojpg@… Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:



variable int button->count is unconstrained to MAX_INT. On my router poll frequency(50Hz), it will rollover in 2.7 years(232 / 50Hz / (3600s*24h*30d)), and so cause a ghost click!


  • Debounce is symetric for press and release.
  • Immediate event after valid state change.

Attachments (1)

gpio.diff (1.4 KB) - added by nunojpg@… 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by nunojpg@…

comment:1 Changed 7 years ago by juhosg

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [19115]. Thanks!

comment:2 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.