main/task_sdcard.c

changeset 26
373a33699605
parent 17
f3451031d6c6
child 33
dd52aecfc19d
--- a/main/task_sdcard.c	Sat Oct 27 19:25:28 2018 +0200
+++ b/main/task_sdcard.c	Sun Oct 28 13:10:46 2018 +0100
@@ -105,7 +105,7 @@
 		strftime(strftime_buf, sizeof(strftime_buf), "%c", &timeinfo);
 		fprintf(f, "{\n");
 		fprintf(f, " \"brew\": [{\n");
-		fprintf(f, "  \"Recipe\":\"%s\",\n", recipe.Name);
+		fprintf(f, "  \"Recipe\":\"%s %s\",\n", recipe.Code, recipe.Name);
 		fprintf(f, "  \"Date\":\"%s\",\n", strftime_buf);
 		fprintf(f, "  \"brewdata\":[\n");
 		addcomma = false;

mercurial