From f68b603aa142882bba4d0b6646e84cd006cfe242 Mon Sep 17 00:00:00 2001
From: Vipin Thomas <vipin.thomas@stud.th-deg.de>
Date: Mon, 31 May 2021 21:38:33 +0000
Subject: [PATCH] Update pixel.cpp

---
 pixel.cpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/pixel.cpp b/pixel.cpp
index b05d9f3..ab17f5a 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -20,12 +20,9 @@ void pixel(
 
 	pkt_t pkt;
 	din.read(pkt);
-
-	    for(int i=0; i<=3; i++){
-            
-	        pkt.data[i] = 255; 
             
-	    }
+	pkt.data= 255; 
+        
 
 	dout.write(pkt);
 }
-- 
GitLab