aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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])){