summaryrefslogtreecommitdiff
path: root/fatfs/documents/doc/chdrive.html
diff options
context:
space:
mode:
authorLeo C.2024-06-30 09:37:28 +0200
committerLeo C.2024-06-30 09:37:28 +0200
commit5630b9308323c3f3aaa09be8fe0f3aecaa826473 (patch)
treead11998289caa623b98507393f838611317ad03e /fatfs/documents/doc/chdrive.html
parentdbd0d34e68c73b9d3628cc1a1bda0b883976fc8b (diff)
downloadz180-stamp-5630b9308323c3f3aaa09be8fe0f3aecaa826473.zip
Import fatfs R0.15fatfs-0.15chan-fatfs
Diffstat (limited to 'fatfs/documents/doc/chdrive.html')
-rw-r--r--fatfs/documents/doc/chdrive.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/fatfs/documents/doc/chdrive.html b/fatfs/documents/doc/chdrive.html
index fb1c32f..4dfc7d8 100644
--- a/fatfs/documents/doc/chdrive.html
+++ b/fatfs/documents/doc/chdrive.html
@@ -41,7 +41,7 @@ FRESULT f_chdrive (
<div class="para desc">
<h4>Description</h4>
-<p>The <tt>f_chdrive</tt> function changes only the current drive. The initial value of the current drive number is 0. Note that the current drive is retained in a static variable, so that it also affects other tasks that using the file functions.</p>
+<p>The <tt>f_chdrive</tt> function changes only the current drive. The initial value of the current drive number is 0. In Unix style drive prefix configuration, this function will not be needed because <tt>f_chdir</tt> function changes also the current drive. Note that the current drive is retained in a static variable, so that it also affects other tasks that using the file functions.</p>
</div>
<div class="para comp">
@@ -56,8 +56,6 @@ FRESULT f_chdrive (
<em>f_chdrive</em>("2:"); <span class="c">/* Set drive 2 as current drive */</span>
<em>f_chdrive</em>(""); <span class="c">/* No effect (set current drive as current drive) */</span>
-
- <em>f_chdrive</em>("/flash"); <span class="c">/* Set drive "flash" as current drive (at Unix style volume ID) */</span>
</pre>
</div>