File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -123,29 +123,6 @@ where
123
123
124
124
self . buffer [ idx] = high;
125
125
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
- // }
149
126
}
150
127
151
128
/// Display is set up in column mode, i.e. a byte walks down a column of 8 pixels from
You can’t perform that action at this time.
0 commit comments