#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