test inverse color matching once more

This commit is contained in:
Chris
2018-10-18 22:52:54 +02:00
parent 1acdd8d107
commit dadc302945
+4 -2
View File
@@ -98,10 +98,12 @@ impl Drawing<Color> for DisplayEink42BlackWhite {
match color {
Color::Black => {
self.buffer[idx] &= !bit;
//self.buffer[idx] &= !bit;
self.buffer[idx] |= bit;
}
Color::White => {
self.buffer[idx] |= bit;
//self.buffer[idx] |= bit;
self.buffer[idx] &= !bit;
}
}
}