Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit749d22b

Browse files
committed
atmel-samd: stop overwriting the flash FS.
1 parent79024f3 commit749d22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎atmel-samd/main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void init_flash_fs(void) {
7474
// try to mount the flash
7575
FRESULTres=f_mount(&vfs->fatfs,vfs->str,1);
7676

77-
if (true||res==FR_NO_FILESYSTEM) {
77+
if (res==FR_NO_FILESYSTEM) {
7878
// no filesystem, or asked to reset it, so create a fresh one
7979

8080
// We are before USB initializes so temporarily undo the USB_WRITEABLE

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp