micropython 273 B

123456789101112131415161718192021
  1. commit 4aff18dad530e1afbe235fc28b981c3e6de296e4
  2. Author: Oliver Fabel <28701799+ofabel@users.noreply.github.com>
  3. Date: Wed Oct 2 05:56:09 2024 +0200
  4. library update
  5. diff --git a/mp_flipper_fileio.c b/mp_flipper_fileio.c
  6. index b7ca8a050..149551a68 100644
  7. --- a/mp_flipper_fileio.c
  8. +++ b/mp_flipper_fileio.c
  9. @@ -61,9 +61,7 @@ static mp_uint_t mp_flipper_fileio_ioctl(mp_obj_t self, mp_uint_t request, uintp
  10. mp_flipper_fileio_file_descriptor_t* fd = MP_OBJ_TO_PTR(self);
  11. if(fd->handle == NULL) {
  12. - *errcode = MP_EIO;
  13. -
  14. - return MP_STREAM_ERROR;
  15. + return 0;
  16. }
  17. if(request == MP_STREAM_SEEK) {