Skip to content

Commit 69f1b41

Browse files
committed
Clean
1 parent 1f222e6 commit 69f1b41

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/mode/graphics.rs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -123,29 +123,6 @@ where
123123

124124
self.buffer[idx] = high;
125125
self.buffer[idx + 1] = low;
126-
127-
// let (byte, bit) = match display_rotation {
128-
// DisplayRotation::Rotate0 | DisplayRotation::Rotate180 => {
129-
// let byte =
130-
// &mut self.buffer[((y as usize) / 8 * display_width as usize) + (x as usize)];
131-
// let bit = 1 << (y % 8);
132-
133-
// (byte, bit)
134-
// }
135-
// DisplayRotation::Rotate90 | DisplayRotation::Rotate270 => {
136-
// let byte =
137-
// &mut self.buffer[((x as usize) / 8 * display_width as usize) + (y as usize)];
138-
// let bit = 1 << (x % 8);
139-
140-
// (byte, bit)
141-
// }
142-
// };
143-
144-
// if value == 0 {
145-
// *byte &= !bit;
146-
// } else {
147-
// *byte |= bit;
148-
// }
149126
}
150127

151128
/// Display is set up in column mode, i.e. a byte walks down a column of 8 pixels from

0 commit comments

Comments
 (0)