add log and try debugging the BB

This commit is contained in:
Able 2023-05-08 22:31:10 -05:00
parent 9239fe7f9e
commit be96cb797a
3 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View file

@ -7,6 +7,7 @@ name = "able_graphics_library"
version = "0.1.2" version = "0.1.2"
dependencies = [ dependencies = [
"embedded-graphics", "embedded-graphics",
"log",
"versioning", "versioning",
] ]

View file

@ -8,3 +8,4 @@ edition = "2021"
[dependencies] [dependencies]
versioning = { path = "../versioning" } versioning = { path = "../versioning" }
embedded-graphics = "0.7.1" embedded-graphics = "0.7.1"
log = "*"

View file

@ -25,6 +25,7 @@ impl Display {
let src_ptr = self.bb; let src_ptr = self.bb;
core::ptr::copy_nonoverlapping(src_ptr, dst_ptr, size); core::ptr::copy_nonoverlapping(src_ptr, dst_ptr, size);
} }
log::trace!("Update");
} }
pub fn line( pub fn line(