Skip to content

Commit

Permalink
FIX: use the old-style path for the old-style impl
Browse files Browse the repository at this point in the history
  • Loading branch information
bkirwi committed Sep 9, 2024
1 parent 8d4fc88 commit f210805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framebuffer/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
}
}
Expand Down

0 comments on commit f210805

Please sign in to comment.