closer to full automated run
This commit is contained in:
parent
6b3dd97713
commit
9acb73470b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue