From 75f87252b4b0f49d4ce40511ef391a288ec25155 Mon Sep 17 00:00:00 2001 From: marc55s Date: Tue, 7 Apr 2026 19:34:36 +0200 Subject: [PATCH 1/2] fix: Display width for epd2in13_v2 --- src/epd2in13_v2/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epd2in13_v2/mod.rs b/src/epd2in13_v2/mod.rs index 5d8d4e0b..16135b3b 100644 --- a/src/epd2in13_v2/mod.rs +++ b/src/epd2in13_v2/mod.rs @@ -56,7 +56,7 @@ pub type Display2in13 = crate::graphics::Display< >; /// Width of the display. -pub const WIDTH: u32 = 122; +pub const WIDTH: u32 = 130; /// Height of the display pub const HEIGHT: u32 = 250; From 7a591f531b491f6bbb27ee09c7b7989cb8a1073e Mon Sep 17 00:00:00 2001 From: marc55s Date: Tue, 7 Apr 2026 19:43:27 +0200 Subject: [PATCH 2/2] fix(test): test for width of epd2in13_v2 --- src/epd2in13_v2/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epd2in13_v2/mod.rs b/src/epd2in13_v2/mod.rs index 16135b3b..7ac3d389 100644 --- a/src/epd2in13_v2/mod.rs +++ b/src/epd2in13_v2/mod.rs @@ -592,7 +592,7 @@ mod tests { #[test] fn epd_size() { - assert_eq!(WIDTH, 122); + assert_eq!(WIDTH, 130); assert_eq!(HEIGHT, 250); assert_eq!(DEFAULT_BACKGROUND_COLOR, Color::White); }