aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-10-10 17:30:15 +0200
committercbdev <cb@cbcdn.com>2020-10-10 17:30:15 +0200
commit70f1ca5bbb3156d9d2b90a115ba88495e5151b55 (patch)
treeac6065116230787f372d0ccd9c6ae15fa146bf1b /backends
parent588503226ff61c2a440f19e050691af93cef0f5f (diff)
downloadmidimonster-70f1ca5bbb3156d9d2b90a115ba88495e5151b55.tar.gz
midimonster-70f1ca5bbb3156d9d2b90a115ba88495e5151b55.tar.bz2
midimonster-70f1ca5bbb3156d9d2b90a115ba88495e5151b55.zip
Update some comments
Diffstat (limited to 'backends')
-rw-r--r--backends/sacn.c2
-rw-r--r--backends/visca.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/backends/sacn.c b/backends/sacn.c
index 0ea7b58..e395ae2 100644
--- a/backends/sacn.c
+++ b/backends/sacn.c
@@ -385,7 +385,7 @@ static int sacn_set(instance* inst, size_t num, channel** c, channel_value* v){
//send packet if required
if(mark){
- //find output instance data
+ //find output control data for the instance
for(u = 0; u < global_cfg.fd[data->fd_index].universes; u++){
if(global_cfg.fd[data->fd_index].universe[u].universe == data->uni){
break;
diff --git a/backends/visca.c b/backends/visca.c
index 2e82515..9f398a2 100644
--- a/backends/visca.c
+++ b/backends/visca.c
@@ -241,6 +241,7 @@ static size_t ptz_set_relmove(instance* inst, channel* c, channel_value* v, uint
}
//set stored axis speed
+ //TODO find a way to do relative axis speed via speed_factor, without overwriting a set absolute speed
msg[4] = data->panspeed;
msg[5] = data->tiltspeed;