Skip to content
Snippets Groups Projects
Commit d9379b1b authored by Majd Hafiri's avatar Majd Hafiri
Browse files

changing the value one to 215 and vice versa

parent f68b603a
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,12 @@ void pixel(
pkt_t pkt;
din.read(pkt);
pkt.data= 255;
if(pkt.data == 1){
pkt.data = 215;
}
if(pkt.data == 215){
pkt.data = 1;
}
dout.write(pkt);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment