aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorGareth McMullin2011-03-12 21:03:42 +1300
committerGareth McMullin2011-03-12 21:03:42 +1300
commitc9ea16312b725c622773cdcd324ba013bcfb56d5 (patch)
treef9ae1e7f9df8fee3a09d5d236f97b662952a46d7 /src/include
parentc062e60059b97c58fd168aed13a6bd953cb0fc69 (diff)
Added more ARM7TDMI functions. Still not usable.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/target.h b/src/include/target.h
index aa20f39..030b41e 100644
--- a/src/include/target.h
+++ b/src/include/target.h
@@ -96,7 +96,7 @@
#define target_check_hw_wp(target, addr) \
- (target)->check_hw_wp((target), (addr))
+ ((target)->check_hw_wp?(target)->check_hw_wp((target), (addr)):0)
/* Flash memory access functions */