#include "platform.h"\r
#include "command.h"\r
#include "apps.h"\r
-\r
+#include "glitch.h"\r
\r
\r
//LED on P1.0\r
\r
//LED out and on.\r
PLEDDIR |= PLEDPIN;\r
- PLEDOUT |= PLEDPIN;\r
+ PLEDOUT &= ~PLEDPIN;\r
\r
//Setup clocks, unique to each '430.\r
msp430_init_dco();\r
unsigned char verb,\r
unsigned long len){\r
//debugstr("GoodFET");\r
+ P1OUT&=~1;\r
switch(app){\r
+ case GLITCH:\r
+ glitchhandle(app,verb,len);\r
+ break;\r
case MONITOR:\r
monitorhandle(app,verb,len);\r
break;\r
unsigned long len;\r
\r
init();\r
+ glitchsetup();\r
\r
txstring(MONITOR,OK,"http://goodfet.sf.net/");\r
\r
+ \r
//Command loop. There's no end!\r
while(1){\r
//Magic 3\r