Merge pull request #88 from crzysdrs/main

Transposed color channels
This commit is contained in:
Chris
2021-08-24 22:00:01 +02:00
committed by GitHub
+2 -2
View File
@@ -85,8 +85,8 @@ impl From<BinaryColor> for OctColor {
#[cfg(feature = "graphics")]
impl From<OctColor> for embedded_graphics_core::pixelcolor::Rgb888 {
fn from(b: OctColor) -> Self {
let (r, b, g) = b.rgb();
Self::new(r, b, g)
let (r, g, b) = b.rgb();
Self::new(r, g, b)
}
}