diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-07-21 09:26:26 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-07-21 09:26:26 +0200 |
commit | 55481e99a90dbc122ff279d580f5219094f5c444 (patch) | |
tree | 84e6b67811c0d432aaed94ca5d90140d92b5aa3f /actuators/motor | |
parent | 1e123c3670209132fa82cf02e95b8425a0c070aa (diff) | |
download | microcopterd-55481e99a90dbc122ff279d580f5219094f5c444.tar.bz2 |
add Serial setup code
Diffstat (limited to 'actuators/motor')
-rw-r--r-- | actuators/motor/atmostripe.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actuators/motor/atmostripe.vala b/actuators/motor/atmostripe.vala index 23f0fda..4485c8c 100644 --- a/actuators/motor/atmostripe.vala +++ b/actuators/motor/atmostripe.vala @@ -24,7 +24,7 @@ public class AtmostripeMotorController : SerialDevice, MotorController { public void init(KeyFile cfg) throws Error { var device = cfg.get_string("AtmostripeMotorController", "device"); - setup(device); + setup(device, 9600, 8, 1); } public bool set_single(uint8 engine, uint8 speed) { |