closer to full automated run

This commit is contained in:
Jeff Carr 2024-12-05 17:39:45 -06:00
parent 6b3dd97713
commit 9acb73470b
1 changed files with 6 additions and 0 deletions

View File

@ -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()