summaryrefslogtreecommitdiffstats
path: root/receiver
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-07-31 01:49:16 +0200
committerSebastian Reichel <sre@ring0.de>2012-07-31 01:49:16 +0200
commit8366c5ab7d4f00e9bb71e4b028c27367aa9fd9e3 (patch)
tree51cfaa5416f9a142ca82ba32c8fb50467b625dbd /receiver
parent88c3e067d541c193663b5787a3ddfe86318cc0ce (diff)
downloadmicrocopterd-8366c5ab7d4f00e9bb71e4b028c27367aa9fd9e3.tar.bz2
add temporary set speed remote command
Diffstat (limited to 'receiver')
-rw-r--r--receiver/socket.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/receiver/socket.vala b/receiver/socket.vala
index e9d8eed..79eec85 100644
--- a/receiver/socket.vala
+++ b/receiver/socket.vala
@@ -85,7 +85,7 @@ public class Socket : Receiver {
uint16 port = (uint16) cfg.get_uint64("Socket", "port");
srv = new RPCServer(port);
- srv.set_speed_all.connect((speed) => {channel_data[0] = speed;});
+ srv.set_speed.connect((id, speed) => {set_speed(id, speed);});
}
public override int32 get_value(uint8 channel) {