diff options
Diffstat (limited to 'plugins/nxt_plugin.py')
-rw-r--r-- | plugins/nxt_plugin.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/nxt_plugin.py b/plugins/nxt_plugin.py index 0842c24..4551f56 100644 --- a/plugins/nxt_plugin.py +++ b/plugins/nxt_plugin.py @@ -243,7 +243,13 @@ class Nxt_plugin(Plugin): def stop(self): # This gets called by the stop button - pass + try: + self._prim_nxtbrake(PORT_A) + self._prim_nxtbrake(PORT_B) + self._prim_nxtbrake(PORT_C) + except: + pass + def goto_background(self): # This gets called when your process is sent to the background |