mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-03 19:24:09 +05:30
Removed unused self.shutdown variable in arduino_driver.py
This commit is contained in:
parent
230d84d097
commit
481760bd42
@ -171,7 +171,6 @@ class Arduino:
|
||||
attempts += 1
|
||||
except:
|
||||
self.mutex.release()
|
||||
if not self.shutdown:
|
||||
print "Exception executing command: " + cmd
|
||||
value = None
|
||||
|
||||
@ -205,7 +204,6 @@ class Arduino:
|
||||
except:
|
||||
self.mutex.release()
|
||||
print "Exception executing command: " + cmd
|
||||
if not self.shutdown:
|
||||
raise SerialException
|
||||
return []
|
||||
|
||||
@ -243,7 +241,6 @@ class Arduino:
|
||||
attempts += 1
|
||||
except:
|
||||
self.mutex.release()
|
||||
if not self.shutdown:
|
||||
print "execute_ack exception when executing", cmd
|
||||
print sys.exc_info()
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user