diff --git a/firmware/applications/final/nickname.c b/firmware/applications/final/nickname.c index 9f62162..a14fab6 100644 --- a/firmware/applications/final/nickname.c +++ b/firmware/applications/final/nickname.c @@ -12,6 +12,7 @@ #include "filesystem/ff.h" #include "filesystem/select.h" #include "filesystem/execute.h" +#include "filesystem/util.h" #include diff --git a/firmware/filesystem/util.h b/firmware/filesystem/util.h new file mode 100644 index 0000000..c522395 --- /dev/null +++ b/firmware/filesystem/util.h @@ -0,0 +1,10 @@ +#ifndef _UTIL_H +#define _UTIL_H 1 + +void fsInit(); +void fsReInit(); +int readFile(char * filename, char * data, int len); +int readTextFile(char * filename, char * data, int len); +int writeFile(char * filename, char * data, int len); + +#endif /* _UTIL_H */