From 54aae08ee7e73080b1826bc68ee2de91ea7f9bb5 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 4 Jul 2015 11:25:28 +0200 Subject: [PATCH] [ES] Removed useless code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-óff-by: Jim Martens --- es/blatt6/uebung6-1/uebung6-1.ino | 2 -- 1 file changed, 2 deletions(-) diff --git a/es/blatt6/uebung6-1/uebung6-1.ino b/es/blatt6/uebung6-1/uebung6-1.ino index 3bc4738..31957e7 100644 --- a/es/blatt6/uebung6-1/uebung6-1.ino +++ b/es/blatt6/uebung6-1/uebung6-1.ino @@ -252,7 +252,6 @@ void setPixel(int x, int y, int value) char existingValue = screenBuffer[index]; char pixelMask = 1 << relativeRow; - pixelMask = 0x0 | pixelMask; char invMask = ~ pixelMask; char newValue = pixelMask & bitValue; @@ -286,7 +285,6 @@ int printChar(int x, int y, char value) char data = font[arrayIndex][i]; for (int _x = 0; _x < 8; _x++) { char bitmask = 1 << _x; - bitmask = 0x0 | bitmask; char pixel = bitmask & data; int pixelInt = 0; if (pixel != 0x0) {