summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeo C2016-09-10 01:51:36 +0200
committerLeo C2016-09-10 01:51:36 +0200
commit7af9364ebd7ad6c143f31e9abe745c6d75f8322b (patch)
treec7ce8ced4962f807f545814f4279dff9c9d45496 /include
parentb30c4e8f1aef96f6fdc93da9f125545f5f74d06e (diff)
downloadz180-stamp-7af9364ebd7ad6c143f31e9abe745c6d75f8322b.zip
Adaptions for fatfs R0.12b
Diffstat (limited to 'include')
-rw-r--r--include/avr/ffconf.h4
-rw-r--r--include/z180-serv.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/include/avr/ffconf.h b/include/avr/ffconf.h
index 99b685c..2acce32 100644
--- a/include/avr/ffconf.h
+++ b/include/avr/ffconf.h
@@ -25,7 +25,7 @@
/ 3: f_lseek() function is removed in addition to 2. */
-#define _USE_STRFUNC 0
+#define _USE_STRFUNC 2
/* This option switches string functions, f_gets(), f_putc(), f_puts() and
/ f_printf().
/
@@ -225,7 +225,7 @@
/ defined by _NORTC_MON, _NORTC_MDAY and _NORTC_YEAR in local time.
/ To enable timestamp function (_FS_NORTC = 0), get_fattime() function need to be
/ added to the project to get current time form real-time clock. _NORTC_MON,
-/ _NORTC_MDAY and _NORTC_YEAR have no effect.
+/ _NORTC_MDAY and _NORTC_YEAR have no effect.
/ These options have no effect at read-only configuration (_FS_READONLY = 1). */
diff --git a/include/z180-serv.h b/include/z180-serv.h
index b6a65b0..3b4a462 100644
--- a/include/z180-serv.h
+++ b/include/z180-serv.h
@@ -7,6 +7,7 @@
#ifndef Z180_SERV_H
#define Z180_SERV_H
+#include <stdint.h>
#include <stdbool.h>
#include "ff.h"