From be96cb797a024d26fe49f6119301d3e60da46d21 Mon Sep 17 00:00:00 2001 From: Able Date: Mon, 8 May 2023 22:31:10 -0500 Subject: [PATCH] add log and try debugging the BB --- Cargo.lock | 1 + libraries/able_graphics_library/Cargo.toml | 1 + libraries/able_graphics_library/src/raw_pixel/arch/x86/mod.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 956e734..05d0c4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7,6 +7,7 @@ name = "able_graphics_library" version = "0.1.2" dependencies = [ "embedded-graphics", + "log", "versioning", ] diff --git a/libraries/able_graphics_library/Cargo.toml b/libraries/able_graphics_library/Cargo.toml index 48f68b7..4241bbb 100644 --- a/libraries/able_graphics_library/Cargo.toml +++ b/libraries/able_graphics_library/Cargo.toml @@ -8,3 +8,4 @@ edition = "2021" [dependencies] versioning = { path = "../versioning" } embedded-graphics = "0.7.1" +log = "*" diff --git a/libraries/able_graphics_library/src/raw_pixel/arch/x86/mod.rs b/libraries/able_graphics_library/src/raw_pixel/arch/x86/mod.rs index 5c9b3f5..f0109a9 100644 --- a/libraries/able_graphics_library/src/raw_pixel/arch/x86/mod.rs +++ b/libraries/able_graphics_library/src/raw_pixel/arch/x86/mod.rs @@ -25,6 +25,7 @@ impl Display { let src_ptr = self.bb; core::ptr::copy_nonoverlapping(src_ptr, dst_ptr, size); } + log::trace!("Update"); } pub fn line(