mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
cfg fixes, this time testing against both possible targets
This commit is contained in:
parent
24cfa557af
commit
f49cab6ca7
1 changed files with 5 additions and 3 deletions
|
|
@ -248,11 +248,13 @@ impl OutputWriter {
|
||||||
writelen
|
writelen
|
||||||
}
|
}
|
||||||
#[cfg(feature="cramium-fpga")]
|
#[cfg(feature="cramium-fpga")]
|
||||||
|
{
|
||||||
for c in buf {
|
for c in buf {
|
||||||
self.putc(*c)
|
self.putc(*c)
|
||||||
}
|
}
|
||||||
buf.len()
|
buf.len()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
pub fn write_all(&mut self, buf: &[u8]) -> core::result::Result<usize, ()> {
|
pub fn write_all(&mut self, buf: &[u8]) -> core::result::Result<usize, ()> {
|
||||||
Ok(self.write(buf))
|
Ok(self.write(buf))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue