- f_mount(&fs, "0:", 0); <span class="c">/* Register work area to the logical drive 0 */</span>\r
- f_mkfs("0:", 0, 0); <span class="c">/* Create FAT volume on the logical drive 0. 2nd argument is ignored. */</span>\r
- f_mount(0, "0:", 0); <span class="c">/* Unregister work area from the logical drive 0 */</span>\r
-\r
- f_mount(&fs, "1:", 0); <span class="c">/* Register a work area to the logical drive 1 */</span>\r
- f_mkfs("1:", 0, 0); <span class="c">/* Create FAT volume on the logical drive 1. 2nd argument is ignored. */</span>\r
- f_mount(0, "1:", 0); <span class="c">/* Unregister work area from the logical drive 1 */</span>\r
+ f_mkfs("0:", FMT_ANY, work, sizeof work); <span class="c">/* Create FAT volume on the logical drive 0 */</span>\r
+ f_mkfs("1:", FMT_ANY, work, sizeof work); <span class="c">/* Create FAT volume on the logical drive 1 */</span>\r