Merge pull request #13 from xuefengedu/master
Correct block display from close to flush
This commit is contained in:
Коммит
3c0aa8a15d
2
files.ts
2
files.ts
|
@ -70,7 +70,7 @@ namespace files {
|
|||
* Flushes all pending write operations to FLASH
|
||||
*/
|
||||
//% blockGap=8
|
||||
//% blockId=fs_file_flush block="%this|close" advanced=true
|
||||
//% blockId=fs_file_flush block="%this|flush" advanced=true
|
||||
public flush(): void {
|
||||
files.fsFlush(this.fd);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче