projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix comments.
[bertos.git]
/
examples
/
triface
/
boot
/
main.c
diff --git
a/examples/triface/boot/main.c
b/examples/triface/boot/main.c
index a1279ac177b3a98887fc01934feb84ab5a654cfa..7af08126b67853ac18bc46dc61d009941cf5df90 100644
(file)
--- a/
examples/triface/boot/main.c
+++ b/
examples/triface/boot/main.c
@@
-108,9
+108,10
@@
int main(void)
ser_init(&ser, CONFIG_BOOT_PORT);
ser_setbaudrate(&ser, CONFIG_BOOT_BAUDRATE);
- xmodem_recv(&ser, &flash.fd);
+ xmodem_recv(&ser.fd, &flash.fd);
+
kfile_close(&flash.fd);
- kfile_close(&ser.fd);
+
kfile_close(&ser.fd);
IRQ_DISABLE;