Skip to content

Commit 37b3b40

Browse files
committed
Update HeapBlockDevice example in header file to compile
1 parent df88a9d commit 37b3b40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/filesystem/bd/HeapBlockDevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
*
4040
* int main() {
4141
* bd.init();
42-
* bd.program(block, 0);
43-
* bd.read(block, 0);
42+
* bd.program(block, 0, bd.get_program_size());
43+
* bd.read(block, 0, bd.get_read_size());
4444
* printf("%s", block);
4545
* bd.deinit();
4646
* }

0 commit comments

Comments
 (0)