fix baudrate option name

This commit is contained in:
Ben Lebherz
2019-11-12 08:37:36 +01:00
committed by GitHub
parent 3df35ef03b
commit f4b886cf7b

View File

@ -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: