Skip to content

Commit f7fd168

Browse files
Incorporated feedback from PR.
1 parent 8162a5d commit f7fd168

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

supervisor/stub/internal_flash.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,20 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t block_num,
5555
}
5656

5757
#if (0)
58+
// See definition in supervisor/flash.c
5859
void supervisor_flash_init_vfs(struct _fs_user_mount_t *vfs) {
5960
return;
6061
}
61-
#endif
6262

63-
void port_internal_flash_flush(void) {
63+
// See definition in supervisor/flash.c
64+
void supervisor_flash_flush(void) {
6465
return;
6566
}
67+
#endif
6668

6769
void supervisor_flash_release_cache(void) {
6870
}
71+
72+
void port_internal_flash_flush(void) {
73+
return;
74+
}

0 commit comments

Comments
 (0)