add log and try debugging the BB
This commit is contained in:
parent
9239fe7f9e
commit
be96cb797a
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -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",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -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 = "*"
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue