main/automation.c

changeset 26
373a33699605
parent 24
bb3d6e22e78b
child 27
e82484ef9d12
--- a/main/automation.c	Sat Oct 27 19:25:28 2018 +0200
+++ b/main/automation.c	Sun Oct 28 13:10:46 2018 +0100
@@ -919,8 +919,7 @@
                     if ((runtime.HopAddition < recipe.Additions) && (TimeLeft <= ((recipe.Addition[runtime.HopAddition].Time * 60) + 60))) {
                         ESP_LOGI(TAG, "Hop addition %d at %d minutes", runtime.HopAddition + 1, recipe.Addition[runtime.HopAddition].Time);
                         TopMessage(recipe.Addition[runtime.HopAddition].Name);
-                        sprintf(logline, "Hopgift %d %s", runtime.HopAddition + 1, recipe.Addition[runtime.HopAddition].Name);
-			log_annotation(ANNOTATION_EVENT, logline);
+			log_annotation(ANNOTATION_EVENT, recipe.Addition[runtime.HopAddition].Name);
                         SoundPlay(SOUND_AddHop);
                         runtime.HopAddition++;
                     } else {

mercurial