From 4247ee09d389667bcbb95bf875d0c2f1070411f0 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 5b99e536..112df1d1 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