projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
goodfet.spiflash now does verification.
[goodfet]
/
firmware
/
tests
/
echo
/
echo.c
diff --git
a/firmware/tests/echo/echo.c
b/firmware/tests/echo/echo.c
index
1f55288
..
5938488
100644
(file)
--- a/
firmware/tests/echo/echo.c
+++ b/
firmware/tests/echo/echo.c
@@
-20,17
+20,8
@@
void init(){
PLEDDIR |= PLEDPIN;
\r
\r
msp430_init_dco();
\r
PLEDDIR |= PLEDPIN;
\r
\r
msp430_init_dco();
\r
-
\r
msp430_init_uart();
\r
\r
msp430_init_uart();
\r
\r
- while(1){
\r
- i = 10000;
\r
- while(i--);
\r
-
\r
- serial_tx(0x80);
\r
- PLEDOUT^=PLEDPIN; // Blink
\r
- }
\r
-
\r
//Enable Interrupts.
\r
//eint();
\r
}
\r
//Enable Interrupts.
\r
//eint();
\r
}
\r
@@
-45,7
+36,7
@@
int main(void)
PLEDOUT^=PLEDPIN; // Blink
\r
\r
//while(1) serial_tx(serial_rx());
\r
PLEDOUT^=PLEDPIN; // Blink
\r
\r
//while(1) serial_tx(serial_rx());
\r
- while(1) serial_tx(
0x80
);
\r
+ while(1) serial_tx(
'G'
);
\r
\r
while(1){
\r
i = 10000;
\r
\r
while(1){
\r
i = 10000;
\r