mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
!154 pika_fatfs_v0.1.0_1666459453874
Merge pull request !154 from pikabot/pika_fatfs_v0.1.0_1666459453874
This commit is contained in:
commit
5114feb1fe
@ -104,10 +104,8 @@ int __fmodeflags(const char* mode) {
|
||||
flags = FA_READ;
|
||||
else
|
||||
flags = FA_WRITE;
|
||||
if (*mode != 'r')
|
||||
flags |= FA_CREATE_NEW;
|
||||
if (*mode == 'w')
|
||||
flags |= FA_CREATE_ALWAYS;
|
||||
flags |= FA_OPEN_ALWAYS;
|
||||
if (*mode == 'a')
|
||||
flags |= FA_OPEN_APPEND;
|
||||
return flags;
|
||||
|
0
package/pika_fatfs/pika_fatfs.pyi
Normal file
0
package/pika_fatfs/pika_fatfs.pyi
Normal file
@ -391,4 +391,7 @@ releases = [ "v0.0.1 b3b2f1c0e30b703666342ae4628e544299cdbd11" ]
|
||||
|
||||
[[packages]]
|
||||
name = "pika_fatfs"
|
||||
releases = [ "v0.0.1 280700b8a8eee1849d16ac68871d014392edf269" ]
|
||||
releases = [
|
||||
"v0.0.1 280700b8a8eee1849d16ac68871d014392edf269",
|
||||
"v0.1.0 8ab8cd90be83f1cb86e2b2bcbb3b68d99d034815"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user