projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2274 works again.
[goodfet]
/
firmware
/
goodfet.c
diff --git
a/firmware/goodfet.c
b/firmware/goodfet.c
index
d993167
..
8ce6108
100644
(file)
--- a/
firmware/goodfet.c
+++ b/
firmware/goodfet.c
@@
-5,9
+5,6
@@
#include "command.h"
\r
#include "apps.h"
\r
\r
#include "command.h"
\r
#include "apps.h"
\r
\r
-#include <signal.h>
\r
-#include <io.h>
\r
-#include <iomacros.h>
\r
\r
\r
//LED on P1.0
\r
\r
\r
//LED on P1.0
\r
@@
-15,7
+12,6
@@
\r
//! Initialize registers and all that jazz.
\r
void init(){
\r
\r
//! Initialize registers and all that jazz.
\r
void init(){
\r
- volatile unsigned int i;
\r
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
\r
\r
//LED and TX OUT
\r
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
\r
\r
//LED and TX OUT
\r
@@
-24,6
+20,9
@@
void init(){
msp430_init_dco();
\r
msp430_init_uart();
\r
\r
msp430_init_dco();
\r
msp430_init_uart();
\r
\r
+
\r
+
\r
+
\r
//Enable Interrupts.
\r
//eint();
\r
}
\r
//Enable Interrupts.
\r
//eint();
\r
}
\r
@@
-68,6
+67,16
@@
int main(void)
\r
//Ready
\r
//txdata(MONITOR,OK,0);
\r
\r
//Ready
\r
//txdata(MONITOR,OK,0);
\r
+ //while (1){
\r
+ // txdata(0xFF,0xff,0x0);
\r
+ // delay(1000);
\r
+ //}
\r
+ //delay(0xffff);
\r
+ //while(*((int*)0x1001));
\r
+
\r
+ //while(1)
\r
+ // txdata(0xFF,0xFF,0);
\r
+
\r
txstring(MONITOR,OK,"http://goodfet.sf.net/");
\r
\r
//Command loop. There's no end!
\r
txstring(MONITOR,OK,"http://goodfet.sf.net/");
\r
\r
//Command loop. There's no end!
\r