Changeset 326


Ignore:
Timestamp:
Nov 27, 2017, 1:15:45 PM (5 years ago)
Author:
coas-nagasima
Message:

戻り値が固定になっているのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • UsbWattMeter/trunk/fatfs/ff.h

    r167 r326  
    260260  switch (mode) {
    261261  case F_SEEK_SET:
    262     f_lseek((fp), ofs);
    263     break;
     262    return f_lseek((fp), ofs);
    264263  case F_SEEK_CUR:
    265     f_lseek((fp), (fp)->fptr + ofs);
    266     break;
     264    return f_lseek((fp), (fp)->fptr + ofs);
    267265  case F_SEEK_END:
    268     f_lseek((fp), (fp)->fsize - ofs);
    269     break;
     266    return f_lseek((fp), (fp)->fsize - ofs);
    270267  default:
    271268    return FR_INVALID_PARAMETER;
    272269  }
    273 
    274   return FR_OK;
    275270}
    276271
Note: See TracChangeset for help on using the changeset viewer.