Ensure the user is forced to select an option through the use of a #error directive.

This commit is contained in:
Richard Barry 2009-09-29 19:34:04 +00:00
parent 1f12f80eb7
commit 3c09399524

View file

@ -67,7 +67,7 @@
//#define configPINSEL2_VALUE 0x50151105 //#define configPINSEL2_VALUE 0x50151105
/* Value to use on rev 'A' and newer devices. */ /* Value to use on rev 'A' and newer devices. */
#define configPINSEL2_VALUE 0x50150105 //#define configPINSEL2_VALUE 0x50150105
#ifndef configPINSEL2_VALUE #ifndef configPINSEL2_VALUE
#error Please uncomment one of the two configPINSEL2_VALUE definitions above, depending on the revision of the LPC2000 device being used. #error Please uncomment one of the two configPINSEL2_VALUE definitions above, depending on the revision of the LPC2000 device being used.