Skip to content
Browse files

create proper header for filesystem util functions

  • Loading branch information...
1 parent a038463 commit 0e0f2439bec88d0fad6f76b80f44612ccbb3c12a @bsx bsx committed Dec 16, 2011
Showing with 11 additions and 0 deletions.
  1. +1 −0 firmware/applications/final/nickname.c
  2. +10 −0 firmware/filesystem/util.h
View
1 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 <string.h>
View
10 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 */

0 comments on commit 0e0f243

Please sign in to comment.
Something went wrong with that request. Please try again.