We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a153433 commit 4ef5a1dCopy full SHA for 4ef5a1d
fl16-inputmodules/src/matrix.rs
@@ -10,7 +10,7 @@ pub const LEDS: usize = WIDTH * HEIGHT;
10
pub struct Grid(pub [[u8; HEIGHT]; WIDTH]);
11
impl Default for Grid {
12
fn default() -> Self {
13
- Grid([[0; HEIGHT]; WIDTH])
+ Grid([[10; HEIGHT]; WIDTH])
14
}
15
16
fl16-inputmodules/src/patterns.rs
@@ -36,7 +36,7 @@ pub fn draw(bytes: &[u8; DRAW_BYTES]) -> Grid {
36
let val = if bytes[byte] & (1 << bit) > 0 {
37
0xFF
38
} else {
39
- 0x00
+ 0x10
40
};
41
grid.0[8 - x][y] = val;
42
0 commit comments