freemyipod r904 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r903‎ | r904 | r905 >
Date:01:00, 12 March 2014
Author:user890104
Status:new
Tags:
Comment:
iPodTouch2G: fix usec timer
Modified paths:
  • /emcore/trunk/target/ipodtouch2g/crt0.S (modified) (history)

Diff [purge]

Index: emcore/trunk/target/ipodtouch2g/crt0.S
@@ -294,8 +294,8 @@
295295 ldr r0, val_3c700000
296296 ldr r1, [r0,#0x80]
297297 ldr r0, [r0,#0x84]
298 - mov r0, r0,lsr#5
299 - orr r0, r0, r1,lsl#27
 298+ mov r0, r0,lsr#4
 299+ orr r0, r0, r1,lsl#28
300300 add r0, r0, r0,asr#2
301301 add r0, r0, r0,asr#6
302302 bx lr