From 9acb73470bd26e88c4284e5557c947d018483b9c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 5 Dec 2024 17:39:45 -0600 Subject: [PATCH] closer to full automated run --- releaseBox.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/releaseBox.go b/releaseBox.go index ba46c2b..f276fa5 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -145,9 +145,15 @@ func createReleaseBox(box *gui.Node) { ok, duration := doReleaseAll() s := fmt.Sprint(duration) log.Info("release returned", ok, "and ran for", s, "findCounter =", findCounter) + first := findCounter if findCounter != 0 { log.Info("should try thsi doRelease() loop again since findCounter =", findCounter) + ok, duration := doReleaseAll() + s := fmt.Sprint(duration) + log.Info("release returned", ok, "and ran for", s, "findCounter =", findCounter) } + second := findCounter + log.Info("doReleaseAll() first =", first, "second =", second) buttonEnable() }) grid.NextRow()