Skip to content

Commit

Permalink
Merge pull request #3943 from tock/ssd1306-col-cmd-fix
Browse files Browse the repository at this point in the history
capsules: ssd1306: fix column command fmt
  • Loading branch information
alexandruradovici committed Apr 2, 2024
2 parents 78224f5 + f8c3508 commit 741d2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capsules/extra/src/ssd1306.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl Command {
1
}
Self::SetHigherColumnStartAddress { address } => {
buffer[0] = 0x10 | (address & 0xF);
buffer[0] = 0x10 | ((address >> 4) & 0xF);
1
}
Self::SetMemoryAddressingMode { mode } => {
Expand Down

0 comments on commit 741d2c8

Please sign in to comment.