aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2017-07-11 16:32:59 +0200
committercbdev <cb@cbcdn.com>2017-07-11 16:32:59 +0200
commitb9e141a7ea3f52e354c2096aaa5f935556b9f734 (patch)
treefbdbe935e4ca8a4adb79a82f30916f7f4c341af9
parent88b4c4e99b17cd3b23d1e2743223d6be8dd43fcd (diff)
downloadmidimonster-b9e141a7ea3f52e354c2096aaa5f935556b9f734.tar.gz
midimonster-b9e141a7ea3f52e354c2096aaa5f935556b9f734.tar.bz2
midimonster-b9e141a7ea3f52e354c2096aaa5f935556b9f734.zip
Fix ArtNet wide channel events
-rw-r--r--artnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/artnet.c b/artnet.c
index b870700..f10e6ec 100644
--- a/artnet.c
+++ b/artnet.c
@@ -355,7 +355,7 @@ static inline int artnet_process_frame(instance* inst, artnet_pkt* frame){
}
//generate events
- for(p = 0; p < max_mark; p++){
+ for(p = 0; p <= max_mark; p++){
if(data->data.map[p] & MAP_MARK){
data->data.map[p] &= ~MAP_MARK;
if(IS_ACTIVE(data->data.map[p])){