summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-30 01:43:21 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-30 01:45:15 -0400
commitb01e9295e4b5ae2680dc4a8acaf9349250cd6b8d (patch)
treeacda4f1133e0153336b1c05797e00562bbe9c0e4 /firmware
parent733821b59272af38be85a164b2cd40e2de87e895 (diff)
downloadrockbox-b01e9295e4b5ae2680dc4a8acaf9349250cd6b8d.tar.gz
rockbox-b01e9295e4b5ae2680dc4a8acaf9349250cd6b8d.tar.bz2
rockbox-b01e9295e4b5ae2680dc4a8acaf9349250cd6b8d.zip
jz4760: Revert back to the delay loop udelay()
... the timer-based version used the same timer as our os tick! Change-Id: Id84b308bfa1145cb8806e1029f2ca26159fb71e1
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/system-jz4760.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/system-jz4760.c b/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
index 78f9fc6cab..01d6d8d93e 100644
--- a/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/system-jz4760.c
@@ -28,7 +28,7 @@
#include "kernel.h"
#include "power.h"
-#define USE_HW_UDELAY
+//#define USE_HW_UDELAY // This is BROKEN.
static int irq;
static void UIRQ(void)