Skip to content

Commit 6eade74

Browse files
authored
Merge pull request #9 from elfmimi/fix-lcd-window-offset
Fix LCD window offset (0, 26) -> (1, 26)
2 parents a8457a8 + 54ed485 commit 6eade74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lcd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl Lcd {
7070
let mut delay = McycleDelay::new(&rcu.clocks);
7171
lcd.init(&mut delay).unwrap();
7272
lcd.set_orientation(&Orientation::Landscape).unwrap();
73-
lcd.set_offset(0, 26);
73+
lcd.set_offset(1, 26);
7474

7575
Lcd {
7676
driver: lcd

0 commit comments

Comments
 (0)