From e75e61b87e6cca6852dc5c17441f46cd0644a892 Mon Sep 17 00:00:00 2001
From: Vipin Thomas <vipin.thomas@stud.th-deg.de>
Date: Fri, 4 Jun 2021 23:06:35 +0000
Subject: [PATCH] Update pixel.cpp

---
 pixel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pixel.cpp b/pixel.cpp
index dc20b36..76aa3c9 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -30,7 +30,7 @@ void pixel(
 		pkt.data -= 1;
 		p_count--;
 		if(p_count==0){
-			count = 0;
+			count = -1;
 			flag=true;
 	}
 
-- 
GitLab