Skip to content

Commit 83bf220

Browse files
committed
Remove excessive debug.
1 parent 1e1b16b commit 83bf220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

octoprint_filamentsensorng/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ def check_status(self):
131131

132132
def sensor_callback(self, _):
133133
sleep(self.poll_time/1000)
134-
self._logger.info('Pin: '+str(GPIO.input(self.pin)))
134+
#self._logger.info('Pin: '+str(GPIO.input(self.pin)))
135135
if self.no_filament():
136-
self._logger.info('Confirmations: '+str(self.filamentsensorngPlugin_confirmations_tracking))
137136
self.filamentsensorngPlugin_confirmations_tracking+=1
137+
self._logger.info('Confirmations: '+str(self.filamentsensorngPlugin_confirmations_tracking))
138138
if self.confirmations<=self.filamentsensorngPlugin_confirmations_tracking:
139139
self._logger.info("Out of filament!")
140140
if self.pause_print:

0 commit comments

Comments
 (0)