  if (fno.fname[0] == 0) break;          <span class="c">/* Break on error or end of dir */</span>
            if (fno.fattrib &amp; AM_DIR) {            <span class="c">/* The item is a directory */</span>
                i = strlen(path);
                sprintf(&amp;path[i], "/%s", fno.fname);
                res = scan_files(path);            <span class="c">/* Enter the directory */</span>
                if (res != FR_OK) break;
                path[i] = 0;
            } else {                 