/*---------------------------------------------------------------------------/\r
-/ FatFs - FAT file system module include file R0.10b (C)ChaN, 2014\r
+/ FatFs - FAT file system module include file R0.10c (C)ChaN, 2014\r
/----------------------------------------------------------------------------/\r
/ FatFs module is a generic FAT file system module for small embedded systems.\r
/ This is a free software that opened for education, research and commercial\r
/----------------------------------------------------------------------------*/\r
\r
#ifndef _FATFS\r
-#define _FATFS 8051 /* Revision ID */\r
+#define _FATFS 80376 /* Revision ID */\r
\r
#ifdef __cplusplus\r
extern "C" {\r
\r
#include "integer.h" /* Basic integer types */\r
#include "ffconf.h" /* FatFs configuration options */\r
-\r
#if _FATFS != _FFCONF\r
#error Wrong configuration file (ffconf.h).\r
#endif\r
int f_printf (FIL* fp, const TCHAR* str, ...); /* Put a formatted string to the file */\r
TCHAR* f_gets (TCHAR* buff, int len, FIL* fp); /* Get a string from the file */\r
\r
-#define f_eof(fp) (((fp)->fptr == (fp)->fsize) ? 1 : 0)\r
+#define f_eof(fp) ((int)((fp)->fptr == (fp)->fsize))\r
#define f_error(fp) ((fp)->err)\r
#define f_tell(fp) ((fp)->fptr)\r
#define f_size(fp) ((fp)->fsize)\r
/* Additional user defined functions */\r
\r
/* RTC function */\r
-#if !_FS_READONLY\r
+#if !_FS_READONLY && !_FS_NORTC\r
DWORD get_fattime (void);\r
#endif\r
\r