X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a56d95e8c2f77e0099014689221ca6881ef5563d..19ecd04f37f68c0674f1194aa8d8a4fc94d6168b:/LUFA/Drivers/Board/XPLAIN/Dataflash.h?ds=inline diff --git a/LUFA/Drivers/Board/XPLAIN/Dataflash.h b/LUFA/Drivers/Board/XPLAIN/Dataflash.h index de71f29ed..28feb58d0 100644 --- a/LUFA/Drivers/Board/XPLAIN/Dataflash.h +++ b/LUFA/Drivers/Board/XPLAIN/Dataflash.h @@ -29,6 +29,7 @@ */ /** \file + * \brief Board specific Dataflash driver header for the XPLAIN. * * Board specific Dataflash driver header for the XPLAIN. * @@ -39,6 +40,11 @@ /** \ingroup Group_Dataflash * @defgroup Group_Dataflash_XPLAIN XPLAIN * + * Board specific Dataflash driver header for the XPLAIN. + * + * \note This file should not be included directly. It is automatically included as needed by the dataflash driver + * dispatch header located in LUFA/Drivers/Board/Dataflash.h. + * * @{ */ @@ -49,7 +55,7 @@ #include "AT45DB642D.h" /* Preprocessor Checks: */ - #if !defined(INCLUDE_FROM_DATAFLASH_H) + #if !defined(__INCLUDE_FROM_DATAFLASH_H) #error Do not include this file directly. Include LUFA/Drivers/Board/Dataflash.h instead. #endif @@ -70,7 +76,7 @@ #define DATAFLASH_NO_CHIP DATAFLASH_CHIPCS_MASK /** Mask for the first dataflash chip selected. */ - #define DATAFLASH_CHIP1 (1 << 5) + #define DATAFLASH_CHIP1 0 #if (BOARD == BOARD_XPLAIN_REV1) #define DATAFLASH_PAGE_SIZE 256