mcu: Integrate query_endstop_wait() into query_endstop()

There is no need to have two separate calls to query an endstop.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-06-26 10:45:06 -04:00
committed by KevinOConnor
parent ced5e35f0c
commit b2c778b931
5 changed files with 6 additions and 16 deletions

View File

@@ -171,7 +171,6 @@ class TMCVirtualEndstop:
self.home_start = self.mcu_endstop.home_start
self.home_wait = self.mcu_endstop.home_wait
self.query_endstop = self.mcu_endstop.query_endstop
self.query_endstop_wait = self.mcu_endstop.query_endstop_wait
self.TimeoutError = self.mcu_endstop.TimeoutError
def home_prepare(self):
self.fields.set_field("en_pwm_mode", 0)