From f21080577719b6e11d94deca89c807a53ff808e4 Mon Sep 17 00:00:00 2001 From: Ben Kirwin Date: Sun, 8 Sep 2024 21:37:20 -0400 Subject: [PATCH] FIX: use the old-style path for the old-style impl --- src/framebuffer/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framebuffer/core.rs b/src/framebuffer/core.rs index 26da4fe..620cf36 100644 --- a/src/framebuffer/core.rs +++ b/src/framebuffer/core.rs @@ -53,7 +53,7 @@ impl Framebuffer { Model::Gen2 => { // Auto-select old method still if env LIBREMARKABLE_FB_DISFAVOR_INTERNAL_RM2FB is set affirmatively match std::env::var("LIBREMARKABLE_FB_DISFAVOR_INTERNAL_RM2FB").as_deref() { - Ok("1") => Framebuffer::device(device.get_framebuffer_path()), + Ok("1") => Framebuffer::device(Model::Gen1.framebuffer_path()), _ => Framebuffer::rm2fb(device.get_framebuffer_path()), } }