From 4cbaefccdfaa8670cd4f9a169b3103e8ce708837 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Tue, 30 Aug 2011 18:54:23 +0000 Subject: [PATCH] Fixed problem on 68040 architecture --- motorApp/MotorSrc/motor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/motorApp/MotorSrc/motor.h b/motorApp/MotorSrc/motor.h index 8f5b135f..d3f275a3 100644 --- a/motorApp/MotorSrc/motor.h +++ b/motorApp/MotorSrc/motor.h @@ -137,10 +137,10 @@ typedef enum { #define LSB_First (TRUE) /* LSB is packed first. */ #elif defined(sparc) || defined(m68k) || defined(powerpc) #define MSB_First (TRUE) /* MSB is packed first. */ -#elif (CPU == PPC604) || (CPU == PPC603) || (CPU==PPC85XX) +#elif (CPU == PPC604) || (CPU == PPC603) || (CPU==PPC85XX) || (CPU == MC68040) #define MSB_First (TRUE) /* MSB is packed first. */ #else - Error: unknown bit order! + #error: unknown bit order! #endif /* -------------------------------------------------- */