summaryrefslogtreecommitdiff
path: root/util/ec3po/interpreter.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/ec3po/interpreter.py')
-rw-r--r--util/ec3po/interpreter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/ec3po/interpreter.py b/util/ec3po/interpreter.py
index 4875d66b74..73123b746a 100644
--- a/util/ec3po/interpreter.py
+++ b/util/ec3po/interpreter.py
@@ -224,6 +224,10 @@ class Interpreter(object):
self.logger.debug('Connected to %s.', self.ec_uart_pty_name)
return
+ elif command.startswith('enhanced'):
+ self.enhanced_ec = command.split(' ')[1] == 'True'
+ return
+
# Ignore any other commands while in the disconnected state.
self.logger.debug('command: \'%s\'', command)
if not self.connected: