summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-10-12 20:07:49 +0200
committerSebastian Reichel <sre@ring0.de>2012-10-12 20:07:49 +0200
commit752952a611c5d8dad1dea6f272621292b1f79b13 (patch)
tree9fdd2a05a4e74019a58f024bfbe743e06ee3e37b
parent1966b6f1db116444853ae2da306b20ea5256f796 (diff)
downloadmicrocopterd-752952a611c5d8dad1dea6f272621292b1f79b13.tar.bz2
enable engines...
-rw-r--r--main.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.vala b/main.vala
index 8dce275..79bfdc2 100644
--- a/main.vala
+++ b/main.vala
@@ -60,6 +60,8 @@ int main(string[] args) {
model = cfg.get_model();
receiver = cfg.get_receiver();
+ motorCtrl.enable();
+
receiver.set_speed.connect((id, speed) => {
motorCtrl.set_single(id, speed);
});