Skip to content
Snippets Groups Projects
Commit 4247ee09 authored by schneider's avatar schneider Committed by rahix
Browse files

feat(bootloader): Name the new volume "CARD10"

parent 70806018
No related branches found
No related tags found
1 merge request!122Bootloader rework
Pipeline #2378 passed
...@@ -41,6 +41,12 @@ int format(void) ...@@ -41,6 +41,12 @@ int format(void)
printf("Failed to make new FS %d\n", res); printf("Failed to make new FS %d\n", res);
return -1; return -1;
} }
f_setlabel("card10");
if (res != FR_OK) {
printf("Failed to set volume name %d\n", res);
return -1;
}
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment