X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/e11fddfe66fcd6fa5b783bb5f1c39dfb5687538d..e977774d4e529ff2f668549197323924ff2a53d4:/LUFA/Common/Common.h diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 74b687b40..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 const - #elif defined(__AVR__) - #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; - #elif defined(__AVR__) - /** 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 /** @} */