cfg fixes, this time testing against both possible targets

This commit is contained in:
bunnie 2023-09-15 19:30:55 +08:00
parent 24cfa557af
commit f49cab6ca7

View file

@ -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, ()> {