X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2590452104c569f64aeefba3b06734035fb77d66..d03d6513d0d24cf63225c8d3dfa07675d9107f40:/LUFA/Common/Common.h diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 04480d514..5f1b2eae5 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -29,9 +29,10 @@ */ /** \file + * \brief Common library convenience macros and functions. * * This file contains macros which are common to all library elements, and which may be useful in user code. It - * also includes other common headers, such as Atomic.h, FunctionAttributes.h and BoardTypes.h. + * also includes other common headers, such as Atomic.h, Attributes.h and BoardTypes.h. */ /** @defgroup Group_Common Common Utility Headers - LUFA/Drivers/Common/Common.h @@ -56,18 +57,9 @@ #define __COMMON_H__ /* Includes: */ - #if defined(__AVR32__) - #include - #include - - #include "Atomic.h" - - #define PROGMEM - #else - #include - #endif - - #include "FunctionAttributes.h" + #include + + #include "Attributes.h" #include "BoardTypes.h" /* Public Interface - May be used in end-application: */ @@ -188,20 +180,6 @@ } } - /* Type Defines: */ - #if defined(__AVR32__) - /** Type define for an unsigned native word-sized chunk of data. */ - typedef uint32_t uintN_t; - - /** Type define for a signed native word-sized chunk of data. */ - typedef int32_t intN_t; - #else - /** Type define for an unsigned native word-sized chunk of data. */ - typedef uint8_t uintN_t; - - /** Type define for a signed native word-sized chunk of data. */ - typedef int8_t intN_t; - #endif #endif /** @} */