fix baudrate option name
This commit is contained in:
parent
3df35ef03b
commit
f4b886cf7b
@ -25,7 +25,7 @@ class GPS(plugins.Plugin):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
agent.run('set gps.device %s' % self.options['device'])
|
agent.run('set gps.device %s' % self.options['device'])
|
||||||
agent.run('set gps.speed %d' % self.options['speed'])
|
agent.run('set gps.baudrate %d' % self.options['speed'])
|
||||||
agent.run('gps on')
|
agent.run('gps on')
|
||||||
self.running = True
|
self.running = True
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user