common: Tweak bit order of screen data.
[gps-watch.git] / src / common / screen.rs
index 71425c40c0c14811f6eed0792250a04cb67133fa..3b890a1847860b197021b7f284d24997a20800ea 100644 (file)
@@ -29,6 +29,8 @@ pub const WIDTH_BYTES: usize = (WIDTH_PX as usize + 7) / 8;
 pub const SIZE_BYTES: usize = HEIGHT_PX as usize * WIDTH_BYTES;
 
 pub struct Screen {
+    // Each byte corresponds to 8 pixels, with the MSB referring
+    // to the left-most pixel.
     pixels: [u8; SIZE_BYTES],
 }