Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System iPod Nano 2G
  • 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 Laurent Papier - 2009-11-25
Last edited by Michael Chicoine - 2009-12-01

FS#10811 - USEC_TIMER fix for nano 2G

The USEC_TIMER does not work on nano 2G.

For the user, this makes the clickwheel ‘jumpy’.

TheSeven said : “the nano2g usec timer is actually a 64bit 5usec timer. rockbox only uses the lower 32 bits, but these only seem to get updated when the high part is read.”

This patch also enable WHEEL_ACCEL as it seems to work fine.

Note: the macro is a little ugly but the operation (a»31)&1 is not optimize by gcc. So we read the 64bits and only use the lower 32 bits.


Closed by  Michael Chicoine
2009-12-01 23:27
Reason for closing:  Accepted
Additional comments about closing:  

Committed in r23747, r23748 and r23749

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing