test inverse color matching once more
parent
1acdd8d107
commit
dadc302945
|
|
@ -98,10 +98,12 @@ impl Drawing<Color> for DisplayEink42BlackWhite {
|
||||||
|
|
||||||
match color {
|
match color {
|
||||||
Color::Black => {
|
Color::Black => {
|
||||||
self.buffer[idx] &= !bit;
|
//self.buffer[idx] &= !bit;
|
||||||
|
self.buffer[idx] |= bit;
|
||||||
}
|
}
|
||||||
Color::White => {
|
Color::White => {
|
||||||
self.buffer[idx] |= bit;
|
//self.buffer[idx] |= bit;
|
||||||
|
self.buffer[idx] &= !bit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue