aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe.schaack <joe.schaack@gmail.com>2011-03-15 15:48:46 +0000
committerjoe.schaack <joe.schaack@gmail.com>2011-03-15 15:48:46 +0000
commit39d1029807fb9b9d57d7810649a15c32dd2769e7 (patch)
tree3fecdccc098ceccb6243daed157c3a27de3b4bde
parent8f01005d110fcecae170e6c9796f4fcfdb892a24 (diff)
downloadlibfixmath-39d1029807fb9b9d57d7810649a15c32dd2769e7.tar.gz
Changed the #if defined to __thumb2__
did not test a compile
-rw-r--r--libfixmath/fix16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfixmath/fix16.c b/libfixmath/fix16.c
index e2ce980..df6a732 100644
--- a/libfixmath/fix16.c
+++ b/libfixmath/fix16.c
@@ -14,7 +14,7 @@ fix16_t fix16_sadd(fix16_t inArg0, fix16_t inArg1) {
-#if (defined(__arm__) || defined(_ARM)) && !defined(__thumb__)
+#if defined(__arm__) || defined(_ARM) || defined(__thumb2__)
fix16_t fix16_mul(int32_t inArg0, int32_t inArg1) {
fix16_t res;
asm(