From 70702af1370e44e32fb2c3c507e4759a187b4fe5 Mon Sep 17 00:00:00 2001
From: Leo C
Date: Thu, 8 Sep 2016 19:15:27 +0200
Subject: Import fatfs R0.12b
---
fatfs/doc/en/getlabel.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'fatfs/doc/en/getlabel.html')
diff --git a/fatfs/doc/en/getlabel.html b/fatfs/doc/en/getlabel.html
index 736792f..cec65aa 100644
--- a/fatfs/doc/en/getlabel.html
+++ b/fatfs/doc/en/getlabel.html
@@ -29,7 +29,7 @@ FRESULT f_getlabel (
path
Pointer to the null-terminated string that specifies the logical drive. Null-string specifies the default drive.
label
-Pointer to the buffer to store the volume label. The buffer size must be at least 12 items. If the volume has no label, a null-string will be returned. Set null pointer if this information is not needed.
+Pointer to the buffer to store the volume label. The buffer size must be at least 24 items at _LFN_UNICODE == 0 or 12 items at _LFN_UNICODE == 1. If the volume has no label, a null-string will be returned. Set null pointer if this information is not needed.
vsn
Pointer to the DWORD variable to store the volume serial number. Set null pointer if this information is not needed.
@@ -60,7 +60,7 @@ FRESULT f_getlabel (
Example
- char str[12];
+ char str[24];
/* Get volume label of the default drive */
f_getlabel("", str, 0);
--
cgit v1.2.3