projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos]
/
src
/
drivers
/
ao_fat.c
diff --git
a/src/drivers/ao_fat.c
b/src/drivers/ao_fat.c
index fb8eecff177322cf9b46a959f87fee4bbe9fbf89..e9ff2789f2310a00b7bde2c772f82930493e5047 100644
(file)
--- a/
src/drivers/ao_fat.c
+++ b/
src/drivers/ao_fat.c
@@
-990,7
+990,7
@@
ao_fat_sync(void)
/*
* ao_fat_full
*
/*
* ao_fat_full
*
- * Returns
TRUE
if the filesystem cannot take
+ * Returns
true
if the filesystem cannot take
* more data
*/
* more data
*/
@@
-1615,7
+1615,7
@@
ao_fat_hexdump_cmd(void)
ao_cmd_status = ao_cmd_syntax_error;
return;
}
ao_cmd_status = ao_cmd_syntax_error;
return;
}
-
+
fd = ao_fat_open(name, AO_FAT_OPEN_READ);
if (fd < 0) {
printf ("Open failed: %d\n", fd);
fd = ao_fat_open(name, AO_FAT_OPEN_READ);
if (fd < 0) {
printf ("Open failed: %d\n", fd);
@@
-1649,5
+1649,7
@@
void
ao_fat_init(void)
{
ao_bufio_init();
ao_fat_init(void)
{
ao_bufio_init();
+#if FAT_COMMANDS
ao_cmd_register(&ao_fat_cmds[0]);
ao_cmd_register(&ao_fat_cmds[0]);
+#endif
}
}