Subversion Repositories NedoOS

Rev

Rev 1056 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 1056 Rev 1190
Line 3016... Line 3016...
3016
                                fno_rddir.fname[0] = 0x00;
3016
                                fno_rddir.fname[0] = 0x00;
3017
                                get_fileinfo(dj, &fno_rddir);           /* Get the object information */
3017
                                get_fileinfo(dj, &fno_rddir);           /* Get the object information */
3018
                                res = dir_next(dj, 0);          /* Increment index for next */
3018
                                res = dir_next(dj, 0);          /* Increment index for next */
3019
                                if (res == FR_NO_FILE) {
3019
                                if (res == FR_NO_FILE) {
3020
                                        dj->sect = 0;
3020
                                        dj->sect = 0;
3021
                                        //res = FR_OK;
3021
                                        res = FR_OK;
3022
                                }
3022
                                }
3023
                        }
3023
                        }
3024
                        FREE_BUF();
3024
                        FREE_BUF();
3025
                }
3025
                }
3026
        }
3026
        }