mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
for further testing purposes, draw_byte is still not stable
This commit is contained in:
+2
-2
@@ -132,10 +132,10 @@ impl Graphics {
|
||||
|
||||
match color {
|
||||
Color::Black => {
|
||||
buffer[idx] = !filling;
|
||||
buffer[idx] = filling;
|
||||
},
|
||||
Color::White => {
|
||||
buffer[idx] = filling;
|
||||
buffer[idx] = !filling;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user