| OLD | NEW |
| 1 #include <stdio.h> | 1 #include <stdio.h> |
| 2 #include <string.h> | 2 #include <string.h> |
| 3 | 3 |
| 4 #include "ff.h" | 4 #include "ff.h" |
| 5 #include <ffs.h> | 5 #include <ffs.h> |
| 6 | 6 |
| 7 #if defined(WITH_LIB_CONSOLE) | 7 #if defined(WITH_LIB_CONSOLE) |
| 8 #include <lib/console.h> | 8 #include <lib/console.h> |
| 9 | 9 |
| 10 static int ffs_cmd(int argc, const cmd_args *argv) | 10 static int ffs_cmd(int argc, const cmd_args *argv) |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 if (res != FR_OK) | 100 if (res != FR_OK) |
| 101 printf("Error: %d\n", res); | 101 printf("Error: %d\n", res); |
| 102 } | 102 } |
| 103 | 103 |
| 104 out: | 104 out: |
| 105 return 0; | 105 return 0; |
| 106 } | 106 } |
| 107 | 107 |
| 108 STATIC_COMMAND_START | 108 STATIC_COMMAND_START |
| 109 { "ffs", "ffs toolbox", &ffs_cmd }, | 109 STATIC_COMMAND("ffs", "ffs toolbox", &ffs_cmd) |
| 110 STATIC_COMMAND_END(ffscommands); | 110 STATIC_COMMAND_END(ffscommands); |
| 111 | 111 |
| 112 | 112 |
| 113 #endif | 113 #endif |
| 114 | 114 |
| OLD | NEW |