Transposed color channels

main
Mitch Souders 2021-08-24 11:56:42 -07:00
parent 965989638a
commit f6f8f3d1f5
1 changed files with 2 additions and 2 deletions

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)
}
}