mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix precursor builds
This commit is contained in:
parent
3bc1c23425
commit
dc56fc7a09
2 changed files with 7 additions and 1 deletions
3
Cargo.lock
generated
3
Cargo.lock
generated
|
|
@ -5535,7 +5535,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sha2"
|
name = "sha2"
|
||||||
version = "0.10.8"
|
version = "0.10.8"
|
||||||
source = "git+https://github.com/betrusted-io/hashes.git?branch=sha2-v0.10.8-xous#ef15aee3576eda5429b361bdee51eae3379ba8ff"
|
source = "git+https://github.com/betrusted-io/hashes.git?branch=sha2-v0.10.8-xous#c190327961172f8160db39f178ca6232fda8c8bf"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
"cpufeatures",
|
"cpufeatures",
|
||||||
|
|
@ -7539,6 +7539,7 @@ dependencies = [
|
||||||
"num-derive 0.4.2",
|
"num-derive 0.4.2",
|
||||||
"num-traits",
|
"num-traits",
|
||||||
"rkyv 0.8.8",
|
"rkyv 0.8.8",
|
||||||
|
"utralib 0.1.26",
|
||||||
"xous 0.9.69 (registry+https://github.com/rust-lang/crates.io-index)",
|
"xous 0.9.69 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"xous-api-log",
|
"xous-api-log",
|
||||||
"xous-api-names",
|
"xous-api-names",
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,11 @@ impl FrameBuffer for XousDisplay {
|
||||||
fb[clip_y * LCD_WORDS_PER_LINE + (LCD_WORDS_PER_LINE - 1)] |= 0x1_0000;
|
fb[clip_y * LCD_WORDS_PER_LINE + (LCD_WORDS_PER_LINE - 1)] |= 0x1_0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe fn put_pixel_unchecked(&mut self, p: Point, color: ColorNative) {
|
||||||
|
// compatibility shim for other builds
|
||||||
|
self.put_pixel(p, color);
|
||||||
|
}
|
||||||
|
|
||||||
/// Retrieves a pixel value from the frame buffer; returns None if the point is out of bounds.
|
/// Retrieves a pixel value from the frame buffer; returns None if the point is out of bounds.
|
||||||
///
|
///
|
||||||
/// Note: this has not be carefully tested as this API is not used by the legacy code base.
|
/// Note: this has not be carefully tested as this API is not used by the legacy code base.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue