New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will...
[pub/USBasp.git] / LUFA / Drivers / Board / Temperature.h
index 1b2baf2..86e0b66 100644 (file)
@@ -63,8 +63,8 @@
                #include "../../Common/Common.h"\r
                #include "../Peripheral/ADC.h"\r
        \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 Temperature Sensor driver cannot be used if the makefile BOARD option is not set.\r
                #elif ((BOARD != BOARD_USBKEY) && (BOARD != BOARD_STK525) && \\r
                       (BOARD != BOARD_STK526) && (BOARD != BOARD_USER) &&   \\r
                           (BOARD != BOARD_EVK527))\r