X-Git-Url: http://git.rot13.org//?p=goodfet;a=blobdiff_plain;f=firmware%2Fplatforms%2Fgoodfet.h;fp=firmware%2Fplatforms%2Fgoodfet.h;h=1408ed0e5a04d57d097a8f135eccb33052be1948;hp=230b8b89575b84cf8f586dd8c19d496f0b16eb21;hb=e9fb7dbba0d1abc23d14559e566da903331f1e8a;hpb=2c299b308dca8a7667bacce7690fa6238492723f diff --git a/firmware/platforms/goodfet.h b/firmware/platforms/goodfet.h index 230b8b8..1408ed0 100644 --- a/firmware/platforms/goodfet.h +++ b/firmware/platforms/goodfet.h @@ -1,9 +1,11 @@ /*! \file goodfet.h \author Travis Goodspeed \brief Port descriptions for the GoodFET platform. - */ +#ifdef MSP430 +#include +#endif @@ -15,13 +17,11 @@ //Use P3 instead of P5 for target I/O on chips without P5. #ifndef __MSP430_HAS_PORT5__ -#ifndef __MSP430_HAS_PORT5_R__ //#warning "No P5, using P3 instead. Will break 2618 and 1612 support." #define P5OUT P3OUT #define P5DIR P3DIR -#define P5REN P3REN #define P5IN P3IN -#endif +#define P5REN P3REN #endif //No longer works for Hope badge.