diff --git a/pixel.cpp b/pixel.cpp index b05d9f395bf9413c64151f8256b6e0a73c0a73e7..ab17f5abec6077ccc7af95a9761a43c8ac31bf24 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); }