projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release version 2.1.0.
[bertos.git]
/
examples
/
triface
/
protocol.c
diff --git
a/examples/triface/protocol.c
b/examples/triface/protocol.c
index 156a414bc802983c28bc6a3f2d0f0ba43ba94497..c00219bd4967201c08306f582bef81c0b59c430d 100644
(file)
--- a/
examples/triface/protocol.c
+++ b/
examples/triface/protocol.c
@@
-283,7
+283,7
@@
MAKE_CMD(ping, "", "",
/* Dout */
MAKE_CMD(dout, "d", "",
({
/* Dout */
MAKE_CMD(dout, "d", "",
({
- kfile_
write(&fd_sipo.fd, (uint8_t *)&args[1].l, 1
);
+ kfile_
putc((uint8_t)args[1].l, &fd_sipo.fd
);
//Store status of dout ports.
reg_status_dout = (uint8_t)args[1].l;
//Store status of dout ports.
reg_status_dout = (uint8_t)args[1].l;