mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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
|
||||
}
|
||||
#[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, ()> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue