Skip to content

Commit

Permalink
create proper header for filesystem util functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bsx committed Dec 17, 2011
1 parent a038463 commit 0e0f243
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions firmware/applications/final/nickname.c
Expand Up @@ -12,6 +12,7 @@
#include "filesystem/ff.h" #include "filesystem/ff.h"
#include "filesystem/select.h" #include "filesystem/select.h"
#include "filesystem/execute.h" #include "filesystem/execute.h"
#include "filesystem/util.h"


#include <string.h> #include <string.h>


Expand Down
10 changes: 10 additions & 0 deletions 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.