projects
/
430.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e94324a
)
Show how to add a word to execute at bootup.
author
Dan White
<dan@whiteaudio.com>
Thu, 9 May 2013 20:34:35 +0000
(15:34 -0500)
committer
Dan White
<dan@whiteaudio.com>
Thu, 9 May 2013 20:35:08 +0000
(15:35 -0500)
msp4th/main.c
patch
|
blob
|
history
diff --git
a/msp4th/main.c
b/msp4th/main.c
index 5860892a35b36a45c1ecd5734bd20a1877f98c44..afea0740609fad505d3f940ae25399c1a8b57dac 100644
(file)
--- a/
msp4th/main.c
+++ b/
msp4th/main.c
@@
-145,6
+145,14
@@
static __inline__ void config_default_msp4th(void)
addrStackArray[i] = 0;
}
+ /* example initial line to execute
+ uint8_t *str = (uint8_t *)"1 2 3 4 5 s.\r";
+ for (i=0; i < 14; i++) {
+ lineBufferArray[i] = str[i];
+ lineBufferArray[i+1] = 0;
+ }
+ */
+
lineBufferArray[0] = 0;
wordBufferArray[0] = 0;