From 6468c593c7ece11aa7735d8d6aa9a546b9505cc3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Sun, 26 Sep 2010 20:37:53 +0200 Subject: [PATCH] zy1000: fix non-JTAG master build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/jtag/zy1000/zy1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c index c939d7f2..c8bee2f5 100644 --- a/src/jtag/zy1000/zy1000.c +++ b/src/jtag/zy1000/zy1000.c @@ -1589,7 +1589,7 @@ int zy1000_init(void) { #if BUILD_ECOSBOARD LOG_USER("%s", ZYLIN_OPENOCD_VERSION); -#else +#elif BUILD_ZY1000_MASTER int fd; if((fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) { -- 2.39.5