Skip to content

Commit 0454bab

Browse files
Merge branch 'main' into mhidalgo/spot-testing
2 parents 037c34a + 78ff69c commit 0454bab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spot_wrapper/wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,8 +1287,8 @@ def power_on(self) -> typing.Tuple[bool, str]:
12871287
"""
12881288
# Don't bother trying to power on if we are already powered on
12891289
if not self.check_is_powered_on():
1290-
# If we are requested to start the estop, we have to acquire it when powering on.
1291-
if self._start_estop:
1290+
# If we are requested to start the estop, we have to acquire it when powering on. Ignore if estop is already acquired.
1291+
if self._start_estop and self._estop_keepalive is None:
12921292
self.resetEStop()
12931293
try:
12941294
self._logger.info("Powering on")

0 commit comments

Comments
 (0)