소스 검색

library update

Oliver Fabel 1 년 전
부모
커밋
4aff18dad5
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      mp_flipper_fileio.c

+ 1 - 3
mp_flipper_fileio.c

@@ -61,9 +61,7 @@ static mp_uint_t mp_flipper_fileio_ioctl(mp_obj_t self, mp_uint_t request, uintp
     mp_flipper_fileio_file_descriptor_t* fd = MP_OBJ_TO_PTR(self);
 
     if(fd->handle == NULL) {
-        *errcode = MP_EIO;
-
-        return MP_STREAM_ERROR;
+        return 0;
     }
 
     if(request == MP_STREAM_SEEK) {