Fix include path. Typo.
[bertos.git] / examples / triface / protocol.c
index 156a414bc802983c28bc6a3f2d0f0ba43ba94497..c00219bd4967201c08306f582bef81c0b59c430d 100644 (file)
@@ -283,7 +283,7 @@ MAKE_CMD(ping, "", "",
 /* 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;