diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-09-26 20:37:53 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-09-26 20:38:29 +0200 |
commit | 6468c593c7ece11aa7735d8d6aa9a546b9505cc3 (patch) | |
tree | e45904f29e0eec01ca198d93cc28cd46323dd64e /src | |
parent | 9f26aff39c047d813047b4f4bae1f5de3cfc56b1 (diff) | |
download | openocd+libswd-6468c593c7ece11aa7735d8d6aa9a546b9505cc3.tar.gz openocd+libswd-6468c593c7ece11aa7735d8d6aa9a546b9505cc3.tar.bz2 openocd+libswd-6468c593c7ece11aa7735d8d6aa9a546b9505cc3.tar.xz openocd+libswd-6468c593c7ece11aa7735d8d6aa9a546b9505cc3.zip |
zy1000: fix non-JTAG master build
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/zy1000/zy1000.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |