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

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

diff --git a/pixel.cpp b/pixel.cpp
index 32f8bcf..064cb7a 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -28,8 +28,9 @@ void pixel(
 		counter=0;
 
 	}
-	
+	else{
 	count++;
+	}
 	// pending: have to make count=0 when TLAST signal is active -  for w not in the range of 0 to n(size of the array) 
 
 
-- 
GitLab