aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--backends/artnet.c4
-rw-r--r--backends/sacn.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index b9c2b9d..d7c25b6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -160,7 +160,7 @@ notifications:
- "irc.hackint.org#midimonster"
on_success: change # default: always
on_failure: always # default: always
- nick: MIDIMonster CI
+ nick: mm_ci
use_notice: true
deploy:
diff --git a/backends/artnet.c b/backends/artnet.c
index 7d5d9ee..34fc82d 100644
--- a/backends/artnet.c
+++ b/backends/artnet.c
@@ -280,8 +280,8 @@ static int artnet_set(instance* inst, size_t num, channel** c, channel_value* v)
//check output rate limit, request next frame
if(frame_delta < ARTNET_FRAME_TIMEOUT){
artnet_fd[data->fd_index].output_instance[u].mark = 1;
- if(!next_frame || next_frame > (ARTNET_KEEPALIVE_INTERVAL - frame_delta)){
- next_frame = (ARTNET_KEEPALIVE_INTERVAL - frame_delta);
+ if(!next_frame || next_frame > (ARTNET_FRAME_TIMEOUT - frame_delta)){
+ next_frame = (ARTNET_FRAME_TIMEOUT - frame_delta);
}
return 0;
}
diff --git a/backends/sacn.c b/backends/sacn.c
index c9be8ff..495bdf3 100644
--- a/backends/sacn.c
+++ b/backends/sacn.c
@@ -374,8 +374,8 @@ static int sacn_set(instance* inst, size_t num, channel** c, channel_value* v){
//check if ratelimiting engaged
if(frame_delta < SACN_FRAME_TIMEOUT){
global_cfg.fd[data->fd_index].universe[u].mark = 1;
- if(!global_cfg.next_frame || global_cfg.next_frame > (SACN_KEEPALIVE_INTERVAL - frame_delta)){
- global_cfg.next_frame = (SACN_KEEPALIVE_INTERVAL - frame_delta);
+ if(!global_cfg.next_frame || global_cfg.next_frame > (SACN_FRAME_TIMEOUT - frame_delta)){
+ global_cfg.next_frame = (SACN_FRAME_TIMEOUT - frame_delta);
}
return 0;
}