projects
/
goodfet
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Firmware coming together.
[goodfet]
/
firmware
/
lib
/
command.c
1
//! Different command handling functions.
2
3
unsigned char cmddata[256];
4
5
//!Transmit data.
6
void txdata(unsigned char app,
7
unsigned char verb,
8
unsigned char len){
9
unsigned int i=0;
10
serial_tx(app);
11
serial_tx(verb);
12
serial_tx(len);
13
for(i=0;i<len;i++){
14
serial_tx(cmddata[i]);
15
}
16
}