From 6a13866c6fa4357b3e8fc04d72a5c5ecc8215572 Mon Sep 17 00:00:00 2001 From: schneider <schneider@blinkenlichts.net> Date: Tue, 20 Aug 2019 00:21:21 +0200 Subject: [PATCH] feat(bootloader): Name the new volume "CARD10" --- bootloader/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootloader/main.c b/bootloader/main.c index 5b99e5362..112df1d16 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -41,6 +41,12 @@ int format(void) printf("Failed to make new FS %d\n", res); return -1; } + + f_setlabel("card10"); + if (res != FR_OK) { + printf("Failed to set volume name %d\n", res); + return -1; + } return 0; } -- GitLab