mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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,10 +248,12 @@ impl OutputWriter {
|
||||||
writelen
|
writelen
|
||||||
}
|
}
|
||||||
#[cfg(feature="cramium-fpga")]
|
#[cfg(feature="cramium-fpga")]
|
||||||
for c in buf {
|
{
|
||||||
self.putc(*c)
|
for c in buf {
|
||||||
|
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, ()> {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue