Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling...
[pub/USBasp.git] / LUFA / Drivers / Board / Dataflash.h
index b1475d2..d55774d 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -29,6 +29,7 @@
 */\r
 \r
 /** \file\r
 */\r
 \r
 /** \file\r
+ *  \brief Master include file for the board dataflash IC driver.\r
  *\r
  *  This file is the master dispatch header file for the board-specific dataflash driver, for boards containing\r
  *  dataflash ICs for external non-volatile storage.\r
  *\r
  *  This file is the master dispatch header file for the board-specific dataflash driver, for boards containing\r
  *  dataflash ICs for external non-volatile storage.\r
@@ -62,6 +63,7 @@
 \r
        /* Macros: */\r
        #if !defined(__DOXYGEN__)\r
 \r
        /* Macros: */\r
        #if !defined(__DOXYGEN__)\r
+               #define __INCLUDE_FROM_DATAFLASH_H\r
                #define INCLUDE_FROM_DATAFLASH_H\r
        #endif\r
 \r
                #define INCLUDE_FROM_DATAFLASH_H\r
        #endif\r
 \r
                        }\r
 \r
                /* Includes: */\r
                        }\r
 \r
                /* Includes: */\r
-                       #if !defined(BOARD)\r
-                               #error BOARD must be set in makefile to a value specified in BoardTypes.h.\r
+                       #if (BOARD == BOARD_NONE)\r
+                               #error The Board Buttons driver cannot be used if the makefile BOARD option is not set.\r
                        #elif (BOARD == BOARD_USBKEY)\r
                                #include "USBKEY/Dataflash.h"\r
                        #elif (BOARD == BOARD_STK525)\r
                        #elif (BOARD == BOARD_USBKEY)\r
                                #include "USBKEY/Dataflash.h"\r
                        #elif (BOARD == BOARD_STK525)\r