mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
cleanup warnings, remove dead code
This commit is contained in:
parent
f86b51a3b2
commit
7af47ec260
1 changed files with 3 additions and 2 deletions
|
|
@ -101,7 +101,6 @@ pub struct XousDisplay {
|
||||||
next_free_line: usize,
|
next_free_line: usize,
|
||||||
spim: udma::Spim,
|
spim: udma::Spim,
|
||||||
devboot: bool,
|
devboot: bool,
|
||||||
iox: IoxHal,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl XousDisplay {
|
impl XousDisplay {
|
||||||
|
|
@ -183,7 +182,7 @@ impl XousDisplay {
|
||||||
Some(iox::IoxDriveStrength::Drive2mA),
|
Some(iox::IoxDriveStrength::Drive2mA),
|
||||||
);
|
);
|
||||||
|
|
||||||
let mut display = XousDisplay { fb, spim, next_free_line: 0, devboot: false, iox };
|
let mut display = XousDisplay { fb, spim, next_free_line: 0, devboot: false };
|
||||||
|
|
||||||
// initialize the DMA buffer with valid mode/address lines & blank data
|
// initialize the DMA buffer with valid mode/address lines & blank data
|
||||||
for line in 0..FB_LINES {
|
for line in 0..FB_LINES {
|
||||||
|
|
@ -223,10 +222,12 @@ impl XousDisplay {
|
||||||
unimplemented!("Cramium platform does not yet support suspend/resume");
|
unimplemented!("Cramium platform does not yet support suspend/resume");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn suspend(&mut self) {
|
pub fn suspend(&mut self) {
|
||||||
unimplemented!("Cramium platform does not yet support suspend/resume");
|
unimplemented!("Cramium platform does not yet support suspend/resume");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn resume(&mut self) {
|
pub fn resume(&mut self) {
|
||||||
unimplemented!("Cramium platform does not yet support suspend/resume");
|
unimplemented!("Cramium platform does not yet support suspend/resume");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue