summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
});