소스 검색

Return true on successful write

perhaps better
main
FrankBoesing 10 년 전
부모
커밋
d363207682
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      SerialFlashDirectory.cpp

+ 1
- 1
SerialFlashDirectory.cpp 파일 보기

@@ -251,7 +251,7 @@ bool SerialFlashChip::create(const char *filename, uint32_t length, uint32_t ali
buf[0] = filename_hash(filename);
SerialFlash.write(buf, 8 + index * 2, 2);
while (!SerialFlash.ready()) ; // TODO: timeout
return false;
return true;
}

bool SerialFlashChip::readdir(char *filename, uint32_t strsize, uint32_t &filesize)

Loading…
취소
저장