Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Regression testing of distance detection finished
Browse files Browse the repository at this point in the history
  • Loading branch information
maocypher committed Oct 25, 2020
1 parent 82607c4 commit 26ce5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoprint_smart_filament_sensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def motion_sensor_start(self):

# Distance detection
if (self.detection_method == 1):
samplingTime = self.motion_sensor_sampling_time()/1000
samplingTime = self.motion_sensor_sampling_time/1000
self.motion_sensor = FilamentMotionSensorDistanceDetection(1, "MotionSensorDistanceDetectionThread", self._printer, samplingTime)
self.remaining_distance = self.motion_sensor_detection_distance
self.motion_sensor.start()
Expand Down

0 comments on commit 26ce5aa

Please sign in to comment.