summaryrefslogtreecommitdiff
path: root/fatfs/doc/en/chmod.html
diff options
context:
space:
mode:
Diffstat (limited to 'fatfs/doc/en/chmod.html')
-rw-r--r--fatfs/doc/en/chmod.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/fatfs/doc/en/chmod.html b/fatfs/doc/en/chmod.html
index 6d53974..6a3ffd0 100644
--- a/fatfs/doc/en/chmod.html
+++ b/fatfs/doc/en/chmod.html
@@ -66,13 +66,13 @@ FRESULT f_chmod (
<div class="para desc">
<h4>Description</h4>
-<p>The <tt>f_chmod()</tt> function changes the attribute of a file or sub-directory.</p>
+<p>The <tt>f_chmod</tt> function changes the attribute of a file or sub-directory.</p>
</div>
<div class="para comp">
<h4>QuickInfo</h4>
-<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_FS_MINIMIZE == 0</tt>.</p>
+<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_USE_CHMOD == 1</tt>.</p>
</div>
@@ -80,7 +80,7 @@ FRESULT f_chmod (
<h4>Example</h4>
<pre>
<span class="c">/* Set read-only flag, clear archive flag and others are left unchanged. */</span>
- f_chmod("file.txt", AR_RDO, AR_RDO | AR_ARC);
+ f_chmod("file.txt", AM_RDO, AM_RDO | AM_ARC);
</pre>
</div>