Skip to content
Snippets Groups Projects
Verified Commit 36a19d2f authored by schneider's avatar schneider Committed by rahix
Browse files

fix(fsutil): Fix function names in header-file

parent 1b48d1db
No related branches found
No related tags found
No related merge requests found
#include <fs_util.h> #include "fs_util.h"
#include <ff.h> #include "ff.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
......
#ifndef _FS_UTIL_H #pragma once
#define _FS_UTIL_H 1
#include <ff.h> #include <ff.h>
#define FLEN 13
typedef struct { typedef struct {
DWORD total; DWORD total;
DWORD free; DWORD free;
} FS_USAGE; } FS_USAGE;
void fsInit(void); int fs_info(FATFS *fs);
void fsReInit(void); int fs_usage(FATFS *fs, FS_USAGE *fs_usage);
int fs_read_file(char * filename, void * data, int len);
int fsInfo(FATFS *fs); int fs_read_text_file(char * filename, char * data, int len);
int fsUsage(FATFS *fs, FS_USAGE *fs_usage); int fs_write_file(char * filename, const void * data, int len);
int readFile(char * filename, void * data, int len); int fs_get_file_size(char * filename);
int readTextFile(char * filename, char * data, int len);
int writeFile(char * filename, const void * data, int len);
int getFileSize(char * filename);
const char* f_get_rc_string (FRESULT rc);
#endif /* _FS_UTIL_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment