This commit is contained in:
Max 2021-09-22 14:18:59 +01:00
parent 9b000777da
commit 97bbe47be9

View File

@ -84,8 +84,9 @@ def safety_system():
def proximity_system(): def proximity_system():
logger.info('Started proximity system') logger.info('Started proximity system')
if PROXIMITY_STOP_ENABLED: while True:
PROXIMITY_ARRAY.check_proximity() if PROXIMITY_STOP_ENABLED:
PROXIMITY_ARRAY.check_proximity()
def safety_watchdog(): def safety_watchdog():