summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/mdelay.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-14 13:13:29 -0800
committerJosh Blum <josh@joshknows.com>2010-12-14 13:13:29 -0800
commit01d5209e103a590dbcdaa51b7fecd2a9e161f558 (patch)
tree3c26cac1aaeaecf49cb5b7c35cfcb9fd25ad744f /firmware/microblaze/lib/mdelay.c
parent546e877ea461404550f01a1066242c2f2610ad9d (diff)
parent42c8c0873c00e692eb88c54e7da4fcbabbd9a4b6 (diff)
downloaduhd-01d5209e103a590dbcdaa51b7fecd2a9e161f558.tar.gz
uhd-01d5209e103a590dbcdaa51b7fecd2a9e161f558.tar.bz2
uhd-01d5209e103a590dbcdaa51b7fecd2a9e161f558.zip
Merge branch 'zpu' into next
Diffstat (limited to 'firmware/microblaze/lib/mdelay.c')
-rw-r--r--firmware/microblaze/lib/mdelay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/microblaze/lib/mdelay.c b/firmware/microblaze/lib/mdelay.c
index c8c119b1a..958acf3f5 100644
--- a/firmware/microblaze/lib/mdelay.c
+++ b/firmware/microblaze/lib/mdelay.c
@@ -30,7 +30,7 @@
inline static void
delay_1ms(int loop_count)
{
- int i;
+/* int i;
for (i = 0; i < loop_count; i++){
asm volatile ("or r0, r0, r0\n\
or r0, r0, r0\n\
@@ -40,6 +40,7 @@ delay_1ms(int loop_count)
or r0, r0, r0\n\
or r0, r0, r0\n");
}
+*/
}
// delay about ms milliseconds