From a7d2500ada887eceb377e7832eef544757a77b2b Mon Sep 17 00:00:00 2001 From: yang Date: Wed, 10 Oct 2012 14:48:18 +0800 Subject: [PATCH] modified ne10_init function --- modules/NE10_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/NE10_init.c b/modules/NE10_init.c index f4a3038..7272b13 100644 --- a/modules/NE10_init.c +++ b/modules/NE10_init.c @@ -14,11 +14,11 @@ * limitations under the License. */ -#include "NE10.h" - #include #include +#include "NE10.h" + #define CPUINFO_BUFFER_SIZE (1024*4) // This local variable indicates whether or not the running platform supports ARM NEON @@ -64,8 +64,8 @@ ne10_result_t ne10_init() } #endif -#if defined (NE10_ENABLE_MATH) - ne10_init_dsp (is_NEON_available); +#if defined (NE10_ENABLE_DSP) + status = ne10_init_dsp (is_NEON_available); if (status != NE10_OK) { fprintf(stderr, "ERROR: init dsp failed\n"); -- 2.7.4