X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fsbw.h;h=4e1756c9384387324a2e3b946abebe384e41e363;hp=3ca606357ebc5d07fd2e65d2c8a588560cae4245;hb=ea94279f763800d71e86d9bb25d140bf78dfb4ea;hpb=d7ad826230d336ad7b7bd20e47dccc26d7ad456f diff --git a/firmware/include/sbw.h b/firmware/include/sbw.h index 3ca6063..4e1756c 100644 --- a/firmware/include/sbw.h +++ b/firmware/include/sbw.h @@ -3,6 +3,8 @@ \brief Spy-Bi-Wire Stuff */ +#include "platform.h" + //IO Pins; these are for EZ430, not GoodFET/UIF #define SBWTCK BIT3 #define SBWTDIO BIT2 @@ -41,7 +43,6 @@ void sbwSETTCLK(); void sbwCLRTCLK(); // Macros - #define SBWCLK() do { \ P5OUT &= ~SBWTCK; \ asm("nop"); \