Skip to content

Commit b4b9446

Browse files
authored
Correct block display from close to flush
1 parent c0d66ba commit b4b9446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace files {
7070
* Flushes all pending write operations to FLASH
7171
*/
7272
//% blockGap=8
73-
//% blockId=fs_file_flush block="%this|close" advanced=true
73+
//% blockId=fs_file_flush block="%this|flush" advanced=true
7474
public flush(): void {
7575
files.fsFlush(this.fd);
7676
}
@@ -161,4 +161,4 @@ namespace files {
161161
return files.fsRead(this.fd);
162162
}
163163
}
164-
}
164+
}

0 commit comments

Comments
 (0)