summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/mdelay.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-29 11:37:18 -0500
committerJosh Blum <josh@joshknows.com>2010-12-12 18:23:46 -0800
commitc08da91e832637e3197758f81128682f6fccf1bd (patch)
treea64580fa299b435db389741c8a31f918300c6f81 /firmware/microblaze/lib/mdelay.c
parent096405b9291d1d3b3ac37d9768232cca43a37db6 (diff)
downloaduhd-c08da91e832637e3197758f81128682f6fccf1bd.tar.gz
uhd-c08da91e832637e3197758f81128682f6fccf1bd.tar.bz2
uhd-c08da91e832637e3197758f81128682f6fccf1bd.zip
usrp-n: created cmake/zpu build for firmware
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