fix more stop doc strings

Change-Id: Id7ea0a6d0c959e980beee8fbea73932c701977d7
This commit is contained in:
zolliker 2024-03-08 15:38:34 +01:00
parent 0f50de9a7f
commit 694b121c01
2 changed files with 2 additions and 0 deletions

View File

@ -141,5 +141,6 @@ class TemperatureLoopTC1(SensorTC1, Drivable):
return value return value
def stop(self): def stop(self):
"""stop at current value (does nothing if ramp is not used)"""
if self.control and self.ramp_used: if self.control and self.ramp_used:
self.write_target(self.value) self.write_target(self.value)

View File

@ -411,6 +411,7 @@ class Uniax(PersistentMixin, Drivable):
@Command() @Command()
def stop(self): def stop(self):
"""stop motor and control"""
if self.motor.isBusy(): if self.motor.isBusy():
self.log.info('stop motor') self.log.info('stop motor')
self.motor_stop() self.motor_stop()